#213942#213942

#213942 is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.9% C 0.034 H 223.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#213942
RGBrgb(33, 57, 66)
HSLhsl(196, 33%, 19%)
HSVhsv(196, 50%, 26%)
CMYKcmyk(50%, 13.6%, 0%, 74.1%)
CIE-LABlab(22.45, -6.46, -8.49)
CIE-LCHlch(22.45, 10.67, 232.77°)
OKLaboklab(32.89% -0.0244 -0.0234)
OKLCHoklch(32.89% 0.034 223.8)
XYZxyz(3.0733, 3.6427, 5.6944)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213942 #422A21
analogous
#21423B #213942 #212942
triadic
#213942 #422139 #394221
tetradic
#213942 #3B2142 #422A21 #294221
square
#213942 #3B2142 #422A21 #294221
split-complementary
#213942 #422129 #423B21
monochromatic
#0A1214 #0D1619 #213942 #355C6B #4A7F94

Accessibility & contrast

On white

12.15
#213942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#213942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213942
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213942#FFFFFF#000000##FFFFFF
##2139421.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343842
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#123C3C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213942;
/* rgb */ color: rgb(33, 57, 66);
/* oklch */ color: oklch(32.9% 0.034 223.8);
Tailwind
colors: {
  custom: {
    50: '#5e6f76',
    500: '#213942',
    950: '#000000',
  },
}
SCSS
$custom: #213942;
$custom-light: #5e6f76;
$custom-dark: #000000;
JSON
{
  "hex": "#213942",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 66
  },
  "hsl": {
    "h": 196.364,
    "s": 33.333,
    "l": 19.412
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.03384,
    "h": 223.8
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#213942
secondary
#765549
accent
#7C5EC9
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#040708
muted
#797A7B

Preview Lab

Preview with #213942

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

Preview Lab → · Contrast checker → · Palette generator →

#213942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva