#203D87#203D87

#203D87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.129 H 264.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#203D87
RGBrgb(32, 61, 135)
HSLhsl(223, 62%, 33%)
HSVhsv(223, 76%, 53%)
CMYKcmyk(76.3%, 54.8%, 0%, 47.1%)
CIE-LABlab(27.83, 16.98, -44.59)
CIE-LCHlch(27.83, 47.71, 290.85°)
OKLaboklab(38.39% -0.0117 -0.1284)
OKLCHoklch(38.39% 0.129 264.8)
XYZxyz(6.6360, 5.3931, 23.6082)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D87 #876A20
analogous
#207087 #203D87 #372087
triadic
#203D87 #87203D #3D8720
tetradic
#203D87 #872070 #876A20 #208737
square
#203D87 #872070 #876A20 #208737
split-complementary
#203D87 #873720 #708720
monochromatic
#091024 #142756 #203D87 #2C53B8 #4D73D5

Accessibility & contrast

On white

10.10
#203D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#203D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D87
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D87#FFFFFF#000000##FFFFFF
##203D871.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203d87;
/* rgb */ color: rgb(32, 61, 135);
/* oklch */ color: oklch(38.4% 0.129 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b72ab',
    500: '#203d87',
    950: '#000000',
  },
}
SCSS
$custom: #203d87;
$custom-light: #6b72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#203d87",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 223.107,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38389,
    "c": 0.12892,
    "h": 264.8
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#203D87
secondary
#B8994B
accent
#B743E5
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #203D87

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

Preview Lab → · Contrast checker → · Palette generator →

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