#201F9E#201F9E

#201F9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.194 H 271.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#201F9E
RGBrgb(32, 31, 158)
HSLhsl(240, 67%, 37%)
HSVhsv(240, 80%, 62%)
CMYKcmyk(79.7%, 80.4%, 0%, 38%)
CIE-LABlab(22.84, 44.67, -66.94)
CIE-LCHlch(22.84, 80.47, 303.71°)
OKLaboklab(35.42% 0.0035 -0.1938)
OKLCHoklch(35.42% 0.194 271)
XYZxyz(7.2551, 3.7549, 32.6835)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F9E #9D9E1F
analogous
#1F5E9E #201F9E #5F1F9E
triadic
#201F9E #9E201F #1F9E20
tetradic
#201F9E #9E1F5E #9D9E1F #1F9E5F
square
#201F9E #9E1F5E #9D9E1F #1F9E5F
split-complementary
#201F9E #9E5F1F #5E9E1F
monochromatic
#0B0B38 #16156B #201F9E #2A29D1 #5A59DE

Accessibility & contrast

On white

11.99
#201F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#201F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F9E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F9E#FFFFFF#000000##FFFFFF
##201F9E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #201f9e;
/* rgb */ color: rgb(32, 31, 158);
/* oklch */ color: oklch(35.4% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#745ebc',
    500: '#201f9e',
    950: '#000000',
  },
}
SCSS
$custom: #201f9e;
$custom-light: #745ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#201f9e",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 240.472,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3542,
    "c": 0.19383,
    "h": 271
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#201F9E
secondary
#C1C256
accent
#EA3EE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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