#203872#203872

#203872 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.104 H 264.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#203872
RGBrgb(32, 56, 114)
HSLhsl(222, 56%, 29%)
HSVhsv(222, 72%, 45%)
CMYKcmyk(71.9%, 50.9%, 0%, 55.3%)
CIE-LABlab(24.80, 12.08, -36.27)
CIE-LCHlch(24.80, 38.23, 288.42°)
OKLaboklab(35.59% -0.0096 -0.104)
OKLCHoklch(35.59% 0.104 264.7)
XYZxyz(5.0460, 4.3498, 16.4900)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203872 #725A20
analogous
#206172 #203872 #312072
triadic
#203872 #722038 #387220
tetradic
#203872 #722061 #725A20 #207231
square
#203872 #722061 #725A20 #207231
split-complementary
#203872 #723120 #617220
monochromatic
#070C18 #132142 #203872 #2D4FA2 #426ACA

Accessibility & contrast

On white

11.23
#203872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#203872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203872
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203872#FFFFFF#000000##FFFFFF
##2038721.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#033771
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #203872;
/* rgb */ color: rgb(32, 56, 114);
/* oklch */ color: oklch(35.6% 0.104 264.7);
Tailwind
colors: {
  custom: {
    50: '#666e9b',
    500: '#203872',
    950: '#000000',
  },
}
SCSS
$custom: #203872;
$custom-light: #666e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#203872",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 222.439,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3559,
    "c": 0.10444,
    "h": 264.7
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#203872
secondary
#A68A48
accent
#B348DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203872

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

Preview Lab → · Contrast checker → · Palette generator →

#203872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva