#203D9E#203D9E

#203D9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.161 H 266.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#203D9E
RGBrgb(32, 61, 158)
HSLhsl(226, 66%, 37%)
HSVhsv(226, 80%, 62%)
CMYKcmyk(79.7%, 61.4%, 0%, 38%)
CIE-LABlab(29.69, 26.06, -55.66)
CIE-LCHlch(29.69, 61.46, 295.09°)
OKLaboklab(40.38% -0.0105 -0.1609)
OKLCHoklch(40.38% 0.161 266.3)
XYZxyz(8.4338, 6.1122, 33.0764)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D9E #9E8120
analogous
#207C9E #203D9E #42209E
triadic
#203D9E #9E203D #3D9E20
tetradic
#203D9E #9E207C #9E8120 #209E42
square
#203D9E #9E207C #9E8120 #209E42
split-complementary
#203D9E #9E4220 #7C9E20
monochromatic
#0B1638 #16296B #203D9E #2A51D1 #5B79DE

Accessibility & contrast

On white

9.45
#203D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#203D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D9E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D9E#FFFFFF#000000##FFFFFF
##203D9E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203d9e;
/* rgb */ color: rgb(32, 61, 158);
/* oklch */ color: oklch(40.4% 0.161 266.3);
Tailwind
colors: {
  custom: {
    50: '#7172bb',
    500: '#203d9e',
    950: '#000000',
  },
}
SCSS
$custom: #203d9e;
$custom-light: #7172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#203d9e",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 226.19,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.16127,
    "h": 266.3
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#203D9E
secondary
#C2A958
accent
#C23FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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