#203D8B#203D8B

#203D8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.135 H 265.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#203D8B
RGBrgb(32, 61, 139)
HSLhsl(224, 63%, 34%)
HSVhsv(224, 77%, 55%)
CMYKcmyk(77%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.14, 18.57, -46.57)
CIE-LCHlch(28.14, 50.13, 291.74°)
OKLaboklab(38.72% -0.0113 -0.1342)
OKLCHoklch(38.72% 0.135 265.2)
XYZxyz(6.9230, 5.5079, 25.1194)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D8B #8B6E20
analogous
#20728B #203D8B #38208B
triadic
#203D8B #8B203D #3D8B20
tetradic
#203D8B #8B2072 #8B6E20 #208B38
square
#203D8B #8B2072 #8B6E20 #208B38
split-complementary
#203D8B #8B3820 #728B20
monochromatic
#091128 #152759 #203D8B #2B53BD #4F74D6

Accessibility & contrast

On white

9.99
#203D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#203D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D8B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D8B#FFFFFF#000000##FFFFFF
##203D8B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203d8b;
/* rgb */ color: rgb(32, 61, 139);
/* oklch */ color: oklch(38.7% 0.135 265.2);
Tailwind
colors: {
  custom: {
    50: '#6c72ad',
    500: '#203d8b',
    950: '#000000',
  },
}
SCSS
$custom: #203d8b;
$custom-light: #6c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#203d8b",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 223.738,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.13469,
    "h": 265.2
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#203D8B
secondary
#BA9C4D
accent
#B942E6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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