#203D9C#203D9C

#203D9C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.159 H 266.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#203D9C
RGBrgb(32, 61, 156)
HSLhsl(226, 66%, 37%)
HSVhsv(226, 79%, 61%)
CMYKcmyk(79.5%, 60.9%, 0%, 38.8%)
CIE-LABlab(29.52, 25.28, -54.73)
CIE-LCHlch(29.52, 60.28, 294.79°)
OKLaboklab(40.2% -0.0105 -0.1582)
OKLCHoklch(40.2% 0.159 266.2)
XYZxyz(8.2630, 6.0439, 32.1771)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D9C #9C7F20
analogous
#207B9C #203D9C #41209C
triadic
#203D9C #9C203D #3D9C20
tetradic
#203D9C #9C207B #9C7F20 #209C41
square
#203D9C #9C207B #9C7F20 #209C41
split-complementary
#203D9C #9C4120 #7B9C20
monochromatic
#0B1536 #162969 #203D9C #2A51CF #5978DD

Accessibility & contrast

On white

9.51
#203D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#203D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D9C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D9C#FFFFFF#000000##FFFFFF
##203D9C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203d9c;
/* rgb */ color: rgb(32, 61, 156);
/* oklch */ color: oklch(40.2% 0.159 266.2);
Tailwind
colors: {
  custom: {
    50: '#7072ba',
    500: '#203d9c',
    950: '#000000',
  },
}
SCSS
$custom: #203d9c;
$custom-light: #7072ba;
$custom-dark: #000000;
JSON
{
  "hex": "#203d9c",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 225.968,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.15854,
    "h": 266.2
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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