#201F99#201F99

#201F99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.188 H 271.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#201F99
RGBrgb(32, 31, 153)
HSLhsl(240, 66%, 36%)
HSVhsv(240, 80%, 60%)
CMYKcmyk(79.1%, 79.7%, 0%, 40%)
CIE-LABlab(22.25, 43.02, -64.85)
CIE-LCHlch(22.25, 77.83, 303.56°)
OKLaboklab(34.84% 0.0046 -0.1877)
OKLCHoklch(34.84% 0.188 271.4)
XYZxyz(6.8335, 3.5862, 30.4629)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F99 #98991F
analogous
#1F5B99 #201F99 #5D1F99
triadic
#201F99 #99201F #1F9920
tetradic
#201F99 #991F5B #98991F #1F995D
square
#201F99 #991F5B #98991F #1F995D
split-complementary
#201F99 #995D1F #5B991F
monochromatic
#0B0A33 #151566 #201F99 #2B29CC #5756DD

Accessibility & contrast

On white

12.23
#201F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F99
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F99#FFFFFF#000000##FFFFFF
##201F991.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201f99;
/* rgb */ color: rgb(32, 31, 153);
/* oklch */ color: oklch(34.8% 0.188 271.4);
Tailwind
colors: {
  custom: {
    50: '#725db8',
    500: '#201f99',
    950: '#000000',
  },
}
SCSS
$custom: #201f99;
$custom-light: #725db8;
$custom-dark: #000000;
JSON
{
  "hex": "#201f99",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 240.492,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34835,
    "c": 0.18781,
    "h": 271.4
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#201F99
secondary
#BFC054
accent
#E93FE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201F99

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

Preview Lab → · Contrast checker → · Palette generator →

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