#203772#203772

#203772 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.106 H 265.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#203772
RGBrgb(32, 55, 114)
HSLhsl(223, 56%, 29%)
HSVhsv(223, 72%, 45%)
CMYKcmyk(71.9%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.49, 12.78, -36.76)
CIE-LCHlch(24.49, 38.91, 289.18°)
OKLaboklab(35.36% -0.0086 -0.1054)
OKLCHoklch(35.36% 0.106 265.3)
XYZxyz(4.9981, 4.2539, 16.4740)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203772 #725B20
analogous
#206072 #203772 #322072
triadic
#203772 #722037 #377220
tetradic
#203772 #722060 #725B20 #207232
square
#203772 #722060 #725B20 #207232
split-complementary
#203772 #723220 #607220
monochromatic
#070C18 #132042 #203772 #2D4EA2 #4268CA

Accessibility & contrast

On white

11.35
#203772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#203772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203772
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203772#FFFFFF#000000##FFFFFF
##2037721.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #203772;
/* rgb */ color: rgb(32, 55, 114);
/* oklch */ color: oklch(35.4% 0.106 265.3);
Tailwind
colors: {
  custom: {
    50: '#666d9b',
    500: '#203772',
    950: '#000000',
  },
}
SCSS
$custom: #203772;
$custom-light: #666d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#203772",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 223.171,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.1058,
    "h": 265.3
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#203772
secondary
#A68B48
accent
#B548DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203772

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

Preview Lab → · Contrast checker → · Palette generator →

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