#201F88#201F88

#201F88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.167 H 272.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#201F88
RGBrgb(32, 31, 136)
HSLhsl(241, 63%, 33%)
HSVhsv(241, 77%, 53%)
CMYKcmyk(76.5%, 77.2%, 0%, 46.7%)
CIE-LABlab(20.30, 37.26, -57.53)
CIE-LCHlch(20.30, 68.55, 302.93°)
OKLaboklab(32.89% 0.0081 -0.1665)
OKLCHoklch(32.89% 0.167 272.8)
XYZxyz(5.5281, 3.0640, 23.5879)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F88 #87881F
analogous
#1F5388 #201F88 #541F88
triadic
#201F88 #88201F #1F8820
tetradic
#201F88 #881F53 #87881F #1F8854
square
#201F88 #881F53 #87881F #1F8854
split-complementary
#201F88 #88541F #53881F
monochromatic
#090824 #141456 #201F88 #2C2ABA #4D4BD6

Accessibility & contrast

On white

13.02
#201F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#201F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F88
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F88#FFFFFF#000000##FFFFFF
##201F881.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201f88;
/* rgb */ color: rgb(32, 31, 136);
/* oklch */ color: oklch(32.9% 0.167 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e5cac',
    500: '#201f88',
    950: '#000000',
  },
}
SCSS
$custom: #201f88;
$custom-light: #6e5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#201f88",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 240.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.1667,
    "h": 272.8
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#201F88
secondary
#B8B94A
accent
#E642E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #201F88

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

Preview Lab → · Contrast checker → · Palette generator →

#201F88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva