#203987#203987

#203987 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.134 H 266.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#203987
RGBrgb(32, 57, 135)
HSLhsl(225, 62%, 33%)
HSVhsv(225, 76%, 53%)
CMYKcmyk(76.3%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.68, 19.76, -46.44)
CIE-LCHlch(26.68, 50.47, 293.05°)
OKLaboklab(37.53% -0.0084 -0.1339)
OKLCHoklch(37.53% 0.134 266.4)
XYZxyz(6.4304, 4.9819, 23.5397)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203987 #876E20
analogous
#206C87 #203987 #3A2087
triadic
#203987 #872039 #398720
tetradic
#203987 #87206C #876E20 #20873A
square
#203987 #87206C #876E20 #20873A
split-complementary
#203987 #873A20 #6C8720
monochromatic
#090F24 #142456 #203987 #2C4EB8 #4D6ED5

Accessibility & contrast

On white

10.52
#203987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#203987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203987
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203987#FFFFFF#000000##FFFFFF
##2039871.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #203987;
/* rgb */ color: rgb(32, 57, 135);
/* oklch */ color: oklch(37.5% 0.134 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b6eab',
    500: '#203987',
    950: '#000000',
  },
}
SCSS
$custom: #203987;
$custom-light: #6b6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#203987",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 225.437,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.13418,
    "h": 266.4
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#203987
secondary
#B89D4B
accent
#BE43E5
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #203987

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

Preview Lab → · Contrast checker → · Palette generator →

#203987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva