#203971#203971

#203971 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.102 H 263.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#203971
RGBrgb(32, 57, 113)
HSLhsl(221, 56%, 28%)
HSVhsv(221, 72%, 44%)
CMYKcmyk(71.7%, 49.6%, 0%, 55.7%)
CIE-LABlab(25.03, 10.97, -35.25)
CIE-LCHlch(25.03, 36.92, 287.29°)
OKLaboklab(35.75% -0.0108 -0.101)
OKLCHoklch(35.75% 0.102 263.9)
XYZxyz(5.0384, 4.4251, 16.2082)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203971 #715820
analogous
#206171 #203971 #2F2071
triadic
#203971 #712039 #397120
tetradic
#203971 #712061 #715820 #20712F
square
#203971 #712061 #715820 #20712F
split-complementary
#203971 #712F20 #617120
monochromatic
#070C18 #122141 #203971 #2E51A1 #426CC9

Accessibility & contrast

On white

11.14
#203971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#203971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203971
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203971#FFFFFF#000000##FFFFFF
##2039711.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #203971;
/* rgb */ color: rgb(32, 57, 113);
/* oklch */ color: oklch(35.7% 0.102 263.9);
Tailwind
colors: {
  custom: {
    50: '#666e9a',
    500: '#203971',
    950: '#000000',
  },
}
SCSS
$custom: #203971;
$custom-light: #666e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#203971",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 221.481,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.10157,
    "h": 263.9
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#203971
secondary
#A58848
accent
#B149DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203971

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

Preview Lab → · Contrast checker → · Palette generator →

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