#201F8E#201F8E

#201F8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.174 H 272.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#201F8E
RGBrgb(32, 31, 142)
HSLhsl(241, 64%, 34%)
HSVhsv(241, 78%, 56%)
CMYKcmyk(77.5%, 78.2%, 0%, 44.3%)
CIE-LABlab(20.98, 39.33, -60.16)
CIE-LCHlch(20.98, 71.87, 303.17°)
OKLaboklab(33.57% 0.0069 -0.1741)
OKLCHoklch(33.57% 0.174 272.3)
XYZxyz(5.9665, 3.2394, 25.8968)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F8E #8D8E1F
analogous
#1F568E #201F8E #581F8E
triadic
#201F8E #8E201F #1F8E20
tetradic
#201F8E #8E1F56 #8D8E1F #1F8E58
square
#201F8E #8E1F56 #8D8E1F #1F8E58
split-complementary
#201F8E #8E581F #568E1F
monochromatic
#09092A #15145C #201F8E #2B2AC0 #504FD9

Accessibility & contrast

On white

12.74
#201F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#201F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F8E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F8E#FFFFFF#000000##FFFFFF
##201F8E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #201f8e;
/* rgb */ color: rgb(32, 31, 142);
/* oklch */ color: oklch(33.6% 0.174 272.3);
Tailwind
colors: {
  custom: {
    50: '#705db0',
    500: '#201f8e',
    950: '#000000',
  },
}
SCSS
$custom: #201f8e;
$custom-light: #705db0;
$custom-dark: #000000;
JSON
{
  "hex": "#201f8e",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 240.541,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.17427,
    "h": 272.3
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#201F8E
secondary
#BABB4D
accent
#E741E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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