#343F2F CSS Color Code

#343F2F

Color Values & Formats

Using is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

HEX
#343f2f
HEX Upper
#343F2F
RGB
rgb(52, 63, 47)
RGBA
rgba(52, 63, 47, 1)
HSL
hsl(101, 15%, 22%)
HSLA
hsla(101, 15%, 22%, 1)
HWB
hwb(101 18% 75%)
CIELAB
lab(25.23 -8.16 8.35)
CIELCH
lch(25.23 11.68 134.32)
OKLab
oklab(0.353 -0.022 0.021)
OKLCH
oklch(0.353 0.031 136.01)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).