#212E2E#212E2E

#212E2E is a dark, near-neutral teal. Relative luminance 0.025; OKLCH L 28.9% C 0.018 H 196.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#212E2E
RGBrgb(33, 46, 46)
HSLhsl(180, 16%, 15%)
HSVhsv(180, 28%, 18%)
CMYKcmyk(28.3%, 0%, 0%, 82%)
CIE-LABlab(17.80, -5.46, -1.80)
CIE-LCHlch(17.80, 5.75, 198.22°)
OKLaboklab(28.93% -0.0169 -0.0049)
OKLCHoklch(28.93% 0.018 196.2)
XYZxyz(2.0972, 2.4745, 2.9514)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E2E #2E2121
analogous
#212E27 #212E2E #21272E
triadic
#212E2E #2E212E #2E2E21
tetradic
#212E2E #27212E #2E2121 #272E21
square
#212E2E #27212E #2E2121 #272E21
split-complementary
#212E2E #2E2127 #2E2721
monochromatic
#0D1212 #0D1212 #212E2E #3B5252 #547575

Accessibility & contrast

On white

14.05
#212E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#212E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E2E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E2E#FFFFFF#000000##FFFFFF
##212E2E1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#1D2F2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212e2e;
/* rgb */ color: rgb(33, 46, 46);
/* oklch */ color: oklch(28.9% 0.018 196.2);
Tailwind
colors: {
  custom: {
    50: '#5c6666',
    500: '#212e2e',
    950: '#000000',
  },
}
SCSS
$custom: #212e2e;
$custom-light: #5c6666;
$custom-dark: #000000;
JSON
{
  "hex": "#212e2e",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 180,
    "s": 16.456,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.01759,
    "h": 196.2
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#212E2E
secondary
#5F4C4C
accent
#6F6FB9
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#040606
muted
#797A7A

Preview Lab

Preview with #212E2E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#212E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva