#203E9D#203E9D

#203E9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.159 H 266.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#203E9D
RGBrgb(32, 62, 157)
HSLhsl(226, 66%, 37%)
HSVhsv(226, 80%, 62%)
CMYKcmyk(79.6%, 60.5%, 0%, 38.4%)
CIE-LABlab(29.88, 24.99, -54.76)
CIE-LCHlch(29.88, 60.19, 294.53°)
OKLaboklab(40.49% -0.0112 -0.1583)
OKLCHoklch(40.49% 0.159 266)
XYZxyz(8.4020, 6.1857, 32.6429)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203E9D #9D7F20
analogous
#207D9D #203E9D #41209D
triadic
#203E9D #9D203E #3E9D20
tetradic
#203E9D #9D207D #9D7F20 #209D41
square
#203E9D #9D207D #9D7F20 #209D41
split-complementary
#203E9D #9D4120 #7D9D20
monochromatic
#0B1637 #162A6A #203E9D #2A52D0 #5A7ADD

Accessibility & contrast

On white

9.39
#203E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#203E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203E9D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203E9D#FFFFFF#000000##FFFFFF
##203E9D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203e9d;
/* rgb */ color: rgb(32, 62, 157);
/* oklch */ color: oklch(40.5% 0.159 266.0);
Tailwind
colors: {
  custom: {
    50: '#7172bb',
    500: '#203e9d',
    950: '#000000',
  },
}
SCSS
$custom: #203e9d;
$custom-light: #7172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#203e9d",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 225.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.15865,
    "h": 266
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#203E9D
secondary
#C1A857
accent
#C03FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203E9D

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

Preview Lab → · Contrast checker → · Palette generator →

#203E9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva