#203D9B#203D9B

#203D9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.157 H 266.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#203D9B
RGBrgb(32, 61, 155)
HSLhsl(226, 66%, 37%)
HSVhsv(226, 79%, 61%)
CMYKcmyk(79.4%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.44, 24.89, -54.26)
CIE-LCHlch(29.44, 59.70, 294.64°)
OKLaboklab(40.11% -0.0106 -0.1568)
OKLCHoklch(40.11% 0.157 266.1)
XYZxyz(8.1787, 6.0102, 31.7330)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D9B #9B7E20
analogous
#207B9B #203D9B #41209B
triadic
#203D9B #9B203D #3D9B20
tetradic
#203D9B #9B207B #9B7E20 #209B41
square
#203D9B #9B207B #9B7E20 #209B41
split-complementary
#203D9B #9B4120 #7B9B20
monochromatic
#0B1536 #162968 #203D9B #2A51CE #5978DD

Accessibility & contrast

On white

9.54
#203D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#203D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D9B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D9B#FFFFFF#000000##FFFFFF
##203D9B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203d9b;
/* rgb */ color: rgb(32, 61, 155);
/* oklch */ color: oklch(40.1% 0.157 266.1);
Tailwind
colors: {
  custom: {
    50: '#7072b9',
    500: '#203d9b',
    950: '#000000',
  },
}
SCSS
$custom: #203d9b;
$custom-light: #7072b9;
$custom-dark: #000000;
JSON
{
  "hex": "#203d9b",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 225.854,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.15717,
    "h": 266.1
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#203D9B
secondary
#C1A856
accent
#C13FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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