#04222F#04222F

#04222F is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.7% C 0.043 H 230.7°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#04222F
RGBrgb(4, 34, 47)
HSLhsl(198, 84%, 10%)
HSVhsv(198, 91%, 18%)
CMYKcmyk(91.5%, 27.7%, 0%, 81.6%)
CIE-LABlab(11.79, -5.50, -11.77)
CIE-LCHlch(11.79, 13.00, 244.96°)
OKLaboklab(23.72% -0.0271 -0.0331)
OKLCHoklch(23.72% 0.043 230.7)
XYZxyz(1.1350, 1.3750, 2.8943)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04222F #2F1104
analogous
#042F27 #04222F #040C2F
triadic
#04222F #2F0422 #222F04
tetradic
#04222F #27042F #2F1104 #0C2F04
square
#04222F #27042F #2F1104 #0C2F04
split-complementary
#04222F #2F040C #2F2704
monochromatic
#02141C #02141C #04222F #094B67 #0E74A0

Accessibility & contrast

On white

16.47
#04222F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#04222F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04222F
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04222F#FFFFFF#000000##FFFFFF
##04222F1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2130
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#002626
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #04222f;
/* rgb */ color: rgb(4, 34, 47);
/* oklch */ color: oklch(23.7% 0.043 230.7);
Tailwind
colors: {
  custom: {
    50: '#4b5c67',
    500: '#04222f',
    950: '#000000',
  },
}
SCSS
$custom: #04222f;
$custom-light: #4b5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#04222f",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 198.14,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.23717,
    "c": 0.04282,
    "h": 230.7
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#04222F
secondary
#72371D
accent
#6B2DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #04222F

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

Preview Lab → · Contrast checker → · Palette generator →

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