#203787#203787

#203787 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.137 H 267.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#203787
RGBrgb(32, 55, 135)
HSLhsl(227, 62%, 33%)
HSVhsv(227, 76%, 53%)
CMYKcmyk(76.3%, 59.3%, 0%, 47.1%)
CIE-LABlab(26.12, 21.15, -47.36)
CIE-LCHlch(26.12, 51.86, 294.06°)
OKLaboklab(37.1% -0.0068 -0.1366)
OKLCHoklch(37.1% 0.137 267.1)
XYZxyz(6.3335, 4.7880, 23.5074)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203787 #877020
analogous
#206A87 #203787 #3C2087
triadic
#203787 #872037 #378720
tetradic
#203787 #87206A #877020 #20873C
square
#203787 #87206A #877020 #20873C
split-complementary
#203787 #873C20 #6A8720
monochromatic
#090F24 #142356 #203787 #2C4BB8 #4D6BD5

Accessibility & contrast

On white

10.73
#203787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#203787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203787
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203787#FFFFFF#000000##FFFFFF
##2037871.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203787;
/* rgb */ color: rgb(32, 55, 135);
/* oklch */ color: oklch(37.1% 0.137 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6dab',
    500: '#203787',
    950: '#000000',
  },
}
SCSS
$custom: #203787;
$custom-light: #6c6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#203787",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 226.602,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37105,
    "c": 0.1368,
    "h": 267.1
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#203787
secondary
#B89F4B
accent
#C143E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #203787

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

Preview Lab → · Contrast checker → · Palette generator →

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