#203771#203771

#203771 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.104 H 265.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#203771
RGBrgb(32, 55, 113)
HSLhsl(223, 56%, 28%)
HSVhsv(223, 72%, 44%)
CMYKcmyk(71.7%, 51.3%, 0%, 55.7%)
CIE-LABlab(24.42, 12.38, -36.23)
CIE-LCHlch(24.42, 38.29, 288.87°)
OKLaboklab(35.28% -0.0088 -0.1039)
OKLCHoklch(35.28% 0.104 265.2)
XYZxyz(4.9414, 4.2312, 16.1759)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203771 #715A20
analogous
#205F71 #203771 #312071
triadic
#203771 #712037 #377120
tetradic
#203771 #71205F #715A20 #207131
square
#203771 #71205F #715A20 #207131
split-complementary
#203771 #713120 #5F7120
monochromatic
#070C18 #122041 #203771 #2E4EA1 #4268C9

Accessibility & contrast

On white

11.37
#203771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203771
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203771#FFFFFF#000000##FFFFFF
##2037711.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#023770
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #203771;
/* rgb */ color: rgb(32, 55, 113);
/* oklch */ color: oklch(35.3% 0.104 265.2);
Tailwind
colors: {
  custom: {
    50: '#666d9a',
    500: '#203771',
    950: '#000000',
  },
}
SCSS
$custom: #203771;
$custom-light: #666d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#203771",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 222.963,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35281,
    "c": 0.10428,
    "h": 265.2
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#203771
secondary
#A58A48
accent
#B449DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203771

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

Preview Lab → · Contrast checker → · Palette generator →

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