#201F9A#201F9A

#201F9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.189 H 271.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#201F9A
RGBrgb(32, 31, 154)
HSLhsl(240, 66%, 36%)
HSVhsv(240, 80%, 60%)
CMYKcmyk(79.2%, 79.9%, 0%, 39.6%)
CIE-LABlab(22.37, 43.35, -65.27)
CIE-LCHlch(22.37, 78.36, 303.59°)
OKLaboklab(34.95% 0.0044 -0.189)
OKLCHoklch(34.95% 0.189 271.3)
XYZxyz(6.9164, 3.6194, 30.8997)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F9A #999A1F
analogous
#1F5C9A #201F9A #5E1F9A
triadic
#201F9A #9A201F #1F9A20
tetradic
#201F9A #9A1F5C #999A1F #1F9A5E
square
#201F9A #9A1F5C #999A1F #1F9A5E
split-complementary
#201F9A #9A5E1F #5C9A1F
monochromatic
#0B0A34 #151567 #201F9A #2B29CD #5756DD

Accessibility & contrast

On white

12.18
#201F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#201F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F9A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F9A#FFFFFF#000000##FFFFFF
##201F9A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201f9a;
/* rgb */ color: rgb(32, 31, 154);
/* oklch */ color: oklch(35.0% 0.189 271.3);
Tailwind
colors: {
  custom: {
    50: '#735db9',
    500: '#201f9a',
    950: '#000000',
  },
}
SCSS
$custom: #201f9a;
$custom-light: #735db9;
$custom-dark: #000000;
JSON
{
  "hex": "#201f9a",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 240.488,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.18902,
    "h": 271.3
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#201F9A
secondary
#C0C154
accent
#E93EE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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