#201F8A#201F8A

#201F8A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 272.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#201F8A
RGBrgb(32, 31, 138)
HSLhsl(241, 63%, 33%)
HSVhsv(241, 78%, 54%)
CMYKcmyk(76.8%, 77.5%, 0%, 45.9%)
CIE-LABlab(20.52, 37.96, -58.41)
CIE-LCHlch(20.52, 69.66, 303.01°)
OKLaboklab(33.11% 0.0077 -0.1691)
OKLCHoklch(33.11% 0.169 272.6)
XYZxyz(5.6716, 3.1214, 24.3434)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F8A #898A1F
analogous
#1F538A #201F8A #551F8A
triadic
#201F8A #8A201F #1F8A20
tetradic
#201F8A #8A1F53 #898A1F #1F8A55
square
#201F8A #8A1F53 #898A1F #1F8A55
split-complementary
#201F8A #8A551F #538A1F
monochromatic
#090926 #141458 #201F8A #2C2ABC #4E4CD7

Accessibility & contrast

On white

12.93
#201F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#201F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F8A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F8A#FFFFFF#000000##FFFFFF
##201F8A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201f8a;
/* rgb */ color: rgb(32, 31, 138);
/* oklch */ color: oklch(33.1% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f5cad',
    500: '#201f8a',
    950: '#000000',
  },
}
SCSS
$custom: #201f8a;
$custom-light: #6f5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#201f8a",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 240.561,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33111,
    "c": 0.16924,
    "h": 272.6
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#201F8A
secondary
#B9BA4B
accent
#E641E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #201F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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