#203371#203371

#203371 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.110 H 267.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#203371
RGBrgb(32, 51, 113)
HSLhsl(226, 56%, 28%)
HSVhsv(226, 72%, 44%)
CMYKcmyk(71.7%, 54.9%, 0%, 55.7%)
CIE-LABlab(23.23, 15.22, -38.16)
CIE-LCHlch(23.23, 41.08, 291.74°)
OKLaboklab(34.37% -0.0048 -0.1097)
OKLCHoklch(34.37% 0.11 267.5)
XYZxyz(4.7591, 3.8665, 16.1151)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203371 #715E20
analogous
#205B71 #203371 #352071
triadic
#203371 #712033 #337120
tetradic
#203371 #71205B #715E20 #207135
square
#203371 #71205B #715E20 #207135
split-complementary
#203371 #713520 #5B7120
monochromatic
#070B18 #121D41 #203371 #2E49A1 #4262C9

Accessibility & contrast

On white

11.84
#203371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#203371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203371
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203371#FFFFFF#000000##FFFFFF
##2033711.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #203371;
/* rgb */ color: rgb(32, 51, 113);
/* oklch */ color: oklch(34.4% 0.110 267.5);
Tailwind
colors: {
  custom: {
    50: '#666a9a',
    500: '#203371',
    950: '#000000',
  },
}
SCSS
$custom: #203371;
$custom-light: #666a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#203371",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 225.926,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.10977,
    "h": 267.5
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#203371
secondary
#A58F48
accent
#BC49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #203371

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

Preview Lab → · Contrast checker → · Palette generator →

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