#04212F#04212F

#04212F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.043 H 233.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#04212F
RGBrgb(4, 33, 47)
HSLhsl(200, 84%, 10%)
HSVhsv(200, 91%, 18%)
CMYKcmyk(91.5%, 29.8%, 0%, 81.6%)
CIE-LABlab(11.40, -4.79, -12.37)
CIE-LCHlch(11.40, 13.27, 248.82°)
OKLaboklab(23.41% -0.0259 -0.0349)
OKLCHoklch(23.41% 0.043 233.4)
XYZxyz(1.1068, 1.3186, 2.8850)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04212F #2F1204
analogous
#042F28 #04212F #040B2F
triadic
#04212F #2F0421 #212F04
tetradic
#04212F #28042F #2F1204 #0B2F04
square
#04212F #28042F #2F1204 #0B2F04
split-complementary
#04212F #2F040B #2F2804
monochromatic
#02141C #02141C #04212F #094967 #0E70A0

Accessibility & contrast

On white

16.62
#04212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#04212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04212F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04212F#FFFFFF#000000##FFFFFF
##04212F1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#002526
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #04212f;
/* rgb */ color: rgb(4, 33, 47);
/* oklch */ color: oklch(23.4% 0.043 233.4);
Tailwind
colors: {
  custom: {
    50: '#4b5c67',
    500: '#04212f',
    950: '#000000',
  },
}
SCSS
$custom: #04212f;
$custom-light: #4b5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#04212f",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 199.535,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2341,
    "c": 0.04346,
    "h": 233.4
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#04212F
secondary
#72391D
accent
#702DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #04212F

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

Preview Lab → · Contrast checker → · Palette generator →

#04212F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva