#203887#203887

#203887 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.135 H 266.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#203887
RGBrgb(32, 56, 135)
HSLhsl(226, 62%, 33%)
HSVhsv(226, 76%, 53%)
CMYKcmyk(76.3%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.40, 20.45, -46.90)
CIE-LCHlch(26.40, 51.17, 293.56°)
OKLaboklab(37.31% -0.0076 -0.1353)
OKLCHoklch(37.31% 0.135 266.8)
XYZxyz(6.3815, 4.8840, 23.5234)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203887 #876F20
analogous
#206C87 #203887 #3B2087
triadic
#203887 #872038 #388720
tetradic
#203887 #87206C #876F20 #20873B
square
#203887 #87206C #876F20 #20873B
split-complementary
#203887 #873B20 #6C8720
monochromatic
#090F24 #142356 #203887 #2C4DB8 #4D6CD5

Accessibility & contrast

On white

10.62
#203887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#203887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203887
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203887#FFFFFF#000000##FFFFFF
##2038871.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203887;
/* rgb */ color: rgb(32, 56, 135);
/* oklch */ color: oklch(37.3% 0.135 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b6eab',
    500: '#203887',
    950: '#000000',
  },
}
SCSS
$custom: #203887;
$custom-light: #6b6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#203887",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 226.019,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.13549,
    "h": 266.8
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#203887
secondary
#B89E4B
accent
#BF43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #203887

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

Preview Lab → · Contrast checker → · Palette generator →

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