#04202F#04202F

#04202F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.1% C 0.044 H 236.0°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#04202F
RGBrgb(4, 32, 47)
HSLhsl(201, 84%, 10%)
HSVhsv(201, 91%, 18%)
CMYKcmyk(91.5%, 31.9%, 0%, 81.6%)
CIE-LABlab(11.02, -4.08, -12.97)
CIE-LCHlch(11.02, 13.60, 252.55°)
OKLaboklab(23.1% -0.0247 -0.0366)
OKLCHoklch(23.1% 0.044 236)
XYZxyz(1.0795, 1.2639, 2.8758)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04202F #2F1304
analogous
#042F28 #04202F #040B2F
triadic
#04202F #2F0420 #202F04
tetradic
#04202F #28042F #2F1304 #0B2F04
square
#04202F #28042F #2F1304 #0B2F04
split-complementary
#04202F #2F040B #2F2804
monochromatic
#02131C #02131C #04202F #094667 #0E6DA0

Accessibility & contrast

On white

16.76
#04202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#04202F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04202F
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04202F#FFFFFF#000000##FFFFFF
##04202F1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#002425
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #04202f;
/* rgb */ color: rgb(4, 32, 47);
/* oklch */ color: oklch(23.1% 0.044 236.0);
Tailwind
colors: {
  custom: {
    50: '#4b5b67',
    500: '#04202f',
    950: '#000000',
  },
}
SCSS
$custom: #04202f;
$custom-light: #4b5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#04202f",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 200.93,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.23104,
    "c": 0.04419,
    "h": 236
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#04202F
secondary
#723B1D
accent
#752DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #04202F

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

Preview Lab → · Contrast checker → · Palette generator →

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