#04213B#04213B

#04213B is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.2% C 0.060 H 249.3°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#04213B
RGBrgb(4, 33, 59)
HSLhsl(208, 87%, 12%)
HSVhsv(208, 93%, 23%)
CMYKcmyk(93.2%, 44.1%, 0%, 76.9%)
CIE-LABlab(12.15, 0.73, -19.78)
CIE-LCHlch(12.15, 19.80, 272.12°)
OKLaboklab(24.24% -0.0214 -0.0565)
OKLCHoklch(24.24% 0.06 249.3)
XYZxyz(1.3830, 1.4291, 4.3398)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04213B #3B1E04
analogous
#043B3A #04213B #04053B
triadic
#04213B #3B0421 #213B04
tetradic
#04213B #3A043B #3B1E04 #053B04
square
#04213B #3A043B #3B1E04 #053B04
split-complementary
#04213B #3B0405 #3B3A04
monochromatic
#02101D #02101D #04213B #084174 #0C61AE

Accessibility & contrast

On white

16.33
#04213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#04213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04213B
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04213B#FFFFFF#000000##FFFFFF
##04213B1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233C
Deuteranopia (green-blind)
#0C1E3A
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04213b;
/* rgb */ color: rgb(4, 33, 59);
/* oklch */ color: oklch(24.2% 0.060 249.3);
Tailwind
colors: {
  custom: {
    50: '#4e5b71',
    500: '#04213b',
    950: '#000000',
  },
}
SCSS
$custom: #04213b;
$custom-light: #4e5b71;
$custom-dark: #000000;
JSON
{
  "hex": "#04213b",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 208.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24243,
    "c": 0.06039,
    "h": 249.3
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#04213B
secondary
#7D4B1E
accent
#8E2AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #04213B

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

Preview Lab → · Contrast checker → · Palette generator →

#04213B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva