#203D99#203D99

#203D99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.154 H 266.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#203D99
RGBrgb(32, 61, 153)
HSLhsl(226, 65%, 36%)
HSVhsv(226, 79%, 60%)
CMYKcmyk(79.1%, 60.1%, 0%, 40%)
CIE-LABlab(29.27, 24.11, -53.32)
CIE-LCHlch(29.27, 58.51, 294.33°)
OKLaboklab(39.93% -0.0106 -0.154)
OKLCHoklch(39.93% 0.154 266.1)
XYZxyz(8.0122, 5.9436, 30.8558)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D99 #997C20
analogous
#207A99 #203D99 #402099
triadic
#203D99 #99203D #3D9920
tetradic
#203D99 #99207A #997C20 #209940
square
#203D99 #99207A #997C20 #209940
split-complementary
#203D99 #994020 #7A9920
monochromatic
#0B1534 #152966 #203D99 #2B51CC #5777DC

Accessibility & contrast

On white

9.59
#203D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#203D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D99
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D99#FFFFFF#000000##FFFFFF
##203D991.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203d99;
/* rgb */ color: rgb(32, 61, 153);
/* oklch */ color: oklch(39.9% 0.154 266.1);
Tailwind
colors: {
  custom: {
    50: '#7072b8',
    500: '#203d99',
    950: '#000000',
  },
}
SCSS
$custom: #203d99;
$custom-light: #7072b8;
$custom-dark: #000000;
JSON
{
  "hex": "#203d99",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 225.62,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39927,
    "c": 0.1544,
    "h": 266.1
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#203D99
secondary
#C0A655
accent
#C03FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203D99

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

Preview Lab → · Contrast checker → · Palette generator →

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