#201888#201888

#201888 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.173 H 273.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#201888
RGBrgb(32, 24, 136)
HSLhsl(244, 70%, 31%)
HSVhsv(244, 82%, 53%)
CMYKcmyk(76.5%, 82.4%, 0%, 46.7%)
CIE-LABlab(18.96, 41.11, -59.75)
CIE-LCHlch(18.96, 72.52, 304.53°)
OKLaboklab(31.95% 0.011 -0.1728)
OKLCHoklch(31.95% 0.173 273.6)
XYZxyz(5.3648, 2.7374, 23.5334)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201888 #808818
analogous
#184888 #201888 #581888
triadic
#201888 #882018 #188820
tetradic
#201888 #881848 #808818 #188858
square
#201888 #881848 #808818 #188858
split-complementary
#201888 #885818 #488818
monochromatic
#080620 #140F54 #201888 #2C21BC #493EDD

Accessibility & contrast

On white

13.57
#201888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#201888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201888
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201888#FFFFFF#000000##FFFFFF
##2018881.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201888;
/* rgb */ color: rgb(32, 24, 136);
/* oklch */ color: oklch(31.9% 0.173 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f58ac',
    500: '#201888',
    950: '#000000',
  },
}
SCSS
$custom: #201888;
$custom-light: #6f58ac;
$custom-dark: #000000;
JSON
{
  "hex": "#201888",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 244.286,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31946,
    "c": 0.17319,
    "h": 273.6
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201888

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

Preview Lab → · Contrast checker → · Palette generator →

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