#04223F#04223F

#04223F is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.065 H 251.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#04223F
RGBrgb(4, 34, 63)
HSLhsl(209, 88%, 13%)
HSVhsv(209, 94%, 25%)
CMYKcmyk(93.7%, 46%, 0%, 75.3%)
CIE-LABlab(12.79, 1.85, -21.58)
CIE-LCHlch(12.79, 21.66, 274.91°)
OKLaboklab(24.83% -0.0212 -0.0617)
OKLCHoklch(24.83% 0.065 251.1)
XYZxyz(1.5190, 1.5286, 4.9166)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04223F #3F2104
analogous
#043F3E #04223F #04043F
triadic
#04223F #3F0422 #223F04
tetradic
#04223F #3E043F #3F2104 #043F04
square
#04223F #3E043F #3F2104 #043F04
split-complementary
#04223F #3F0404 #3F3E04
monochromatic
#02101D #02101D #04223F #084179 #0B60B2

Accessibility & contrast

On white

16.08
#04223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#04223F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04223F
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04223F#FFFFFF#000000##FFFFFF
##04223F1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#091F3E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #04223f;
/* rgb */ color: rgb(4, 34, 63);
/* oklch */ color: oklch(24.8% 0.065 251.1);
Tailwind
colors: {
  custom: {
    50: '#505c74',
    500: '#04223f',
    950: '#000000',
  },
}
SCSS
$custom: #04223f;
$custom-light: #505c74;
$custom-dark: #000000;
JSON
{
  "hex": "#04223f",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 209.492,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24832,
    "c": 0.06527,
    "h": 251.1
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#04223F
secondary
#804F1E
accent
#922AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #04223F

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

Preview Lab → · Contrast checker → · Palette generator →

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