#203D9D#203D9D

#203D9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.160 H 266.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#203D9D
RGBrgb(32, 61, 157)
HSLhsl(226, 66%, 37%)
HSVhsv(226, 80%, 62%)
CMYKcmyk(79.6%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.61, 25.67, -55.20)
CIE-LCHlch(29.61, 60.87, 294.94°)
OKLaboklab(40.28% -0.0105 -0.1596)
OKLCHoklch(40.28% 0.16 266.2)
XYZxyz(8.3481, 6.0779, 32.6249)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D9D #9D8020
analogous
#207C9D #203D9D #42209D
triadic
#203D9D #9D203D #3D9D20
tetradic
#203D9D #9D207C #9D8020 #209D42
square
#203D9D #9D207C #9D8020 #209D42
split-complementary
#203D9D #9D4220 #7C9D20
monochromatic
#0B1537 #16296A #203D9D #2A51D0 #5A78DD

Accessibility & contrast

On white

9.48
#203D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203D9D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D9D#FFFFFF#000000##FFFFFF
##203D9D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203d9d;
/* rgb */ color: rgb(32, 61, 157);
/* oklch */ color: oklch(40.3% 0.160 266.2);
Tailwind
colors: {
  custom: {
    50: '#7172bb',
    500: '#203d9d',
    950: '#000000',
  },
}
SCSS
$custom: #203d9d;
$custom-light: #7172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#203d9d",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 226.08,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.15991,
    "h": 266.2
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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