#04223B#04223B

#04223B is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.059 H 247.8°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#04223B
RGBrgb(4, 34, 59)
HSLhsl(207, 87%, 12%)
HSVhsv(207, 93%, 23%)
CMYKcmyk(93.2%, 42.4%, 0%, 76.9%)
CIE-LABlab(12.52, -0.02, -19.20)
CIE-LCHlch(12.52, 19.20, 269.94°)
OKLaboklab(24.53% -0.0224 -0.0548)
OKLCHoklch(24.53% 0.059 247.8)
XYZxyz(1.4112, 1.4855, 4.3492)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04223B #3B1D04
analogous
#043B39 #04223B #04063B
triadic
#04223B #3B0422 #223B04
tetradic
#04223B #39043B #3B1D04 #063B04
square
#04223B #39043B #3B1D04 #063B04
split-complementary
#04223B #3B0406 #3B3904
monochromatic
#02111D #02111D #04223B #084374 #0C64AE

Accessibility & contrast

On white

16.19
#04223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#04223B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04223B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04223B#FFFFFF#000000##FFFFFF
##04223B1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233C
Deuteranopia (green-blind)
#0E1E3B
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #04223b;
/* rgb */ color: rgb(4, 34, 59);
/* oklch */ color: oklch(24.5% 0.059 247.8);
Tailwind
colors: {
  custom: {
    50: '#4e5c71',
    500: '#04223b',
    950: '#000000',
  },
}
SCSS
$custom: #04223b;
$custom-light: #4e5c71;
$custom-dark: #000000;
JSON
{
  "hex": "#04223b",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 207.273,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2453,
    "c": 0.05916,
    "h": 247.8
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#04223B
secondary
#7D491E
accent
#8A2AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #04223B

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

Preview Lab → · Contrast checker → · Palette generator →

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