#04203F#04203F

#04203F is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.3% C 0.068 H 253.6°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#04203F
RGBrgb(4, 32, 63)
HSLhsl(212, 88%, 13%)
HSVhsv(212, 94%, 25%)
CMYKcmyk(93.7%, 49.2%, 0%, 75.3%)
CIE-LABlab(12.07, 3.38, -22.73)
CIE-LCHlch(12.07, 22.98, 278.46°)
OKLaboklab(24.28% -0.0192 -0.0652)
OKLCHoklch(24.28% 0.068 253.6)
XYZxyz(1.4634, 1.4175, 4.8981)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04203F #3F2304
analogous
#043D3F #04203F #05043F
triadic
#04203F #3F0420 #203F04
tetradic
#04203F #3F043D #3F2304 #043F05
square
#04203F #3F043D #3F2304 #043F05
split-complementary
#04203F #3F0504 #3D3F04
monochromatic
#020F1D #020F1D #04203F #083D79 #0B5AB2

Accessibility & contrast

On white

16.36
#04203F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#04203F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04203F
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04203F#FFFFFF#000000##FFFFFF
##04203F1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102340
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #04203f;
/* rgb */ color: rgb(4, 32, 63);
/* oklch */ color: oklch(24.3% 0.068 253.6);
Tailwind
colors: {
  custom: {
    50: '#505a74',
    500: '#04203f',
    950: '#000000',
  },
}
SCSS
$custom: #04203f;
$custom-light: #505a74;
$custom-dark: #000000;
JSON
{
  "hex": "#04203f",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 63
  },
  "hsl": {
    "h": 211.525,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24275,
    "c": 0.06794,
    "h": 253.6
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#04203F
secondary
#80521E
accent
#992AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #04203F

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

Preview Lab → · Contrast checker → · Palette generator →

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