#201887#201887

#201887 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.172 H 273.7°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#201887
RGBrgb(32, 24, 135)
HSLhsl(244, 70%, 31%)
HSVhsv(244, 82%, 53%)
CMYKcmyk(76.3%, 82.2%, 0%, 47.1%)
CIE-LABlab(18.84, 40.78, -59.32)
CIE-LCHlch(18.84, 71.99, 304.51°)
OKLaboklab(31.83% 0.0112 -0.1716)
OKLCHoklch(31.83% 0.172 273.7)
XYZxyz(5.2940, 2.7091, 23.1609)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201887 #7F8718
analogous
#184787 #201887 #571887
triadic
#201887 #872018 #188720
tetradic
#201887 #871847 #7F8718 #188757
square
#201887 #871847 #7F8718 #188757
split-complementary
#201887 #875718 #478718
monochromatic
#07061F #140F53 #201887 #2C21BB #483DDC

Accessibility & contrast

On white

13.62
#201887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#201887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201887
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201887#FFFFFF#000000##FFFFFF
##2018871.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002885
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201887;
/* rgb */ color: rgb(32, 24, 135);
/* oklch */ color: oklch(31.8% 0.172 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e58ab',
    500: '#201887',
    950: '#000000',
  },
}
SCSS
$custom: #201887;
$custom-light: #6e58ab;
$custom-dark: #000000;
JSON
{
  "hex": "#201887",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 244.324,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31826,
    "c": 0.17197,
    "h": 273.7
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#201887
secondary
#B2BB40
accent
#ED3BE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #201887

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

Preview Lab → · Contrast checker → · Palette generator →

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