#201F80#201F80

#201F80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.156 H 273.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#201F80
RGBrgb(32, 31, 128)
HSLhsl(241, 61%, 31%)
HSVhsv(241, 76%, 50%)
CMYKcmyk(75%, 75.8%, 0%, 49.8%)
CIE-LABlab(19.41, 34.46, -53.95)
CIE-LCHlch(19.41, 64.02, 302.57°)
OKLaboklab(31.99% 0.0097 -0.1561)
OKLCHoklch(31.99% 0.156 273.5)
XYZxyz(4.9806, 2.8451, 20.7046)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F80 #7F801F
analogous
#1F4E80 #201F80 #501F80
triadic
#201F80 #80201F #1F8020
tetradic
#201F80 #801F4E #7F801F #1F8050
square
#201F80 #801F4E #7F801F #1F8050
split-complementary
#201F80 #80501F #4E801F
monochromatic
#07071D #14134F #201F80 #2C2BB1 #4847D2

Accessibility & contrast

On white

13.38
#201F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#201F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F80
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F80#FFFFFF#000000##FFFFFF
##201F801.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #201f80;
/* rgb */ color: rgb(32, 31, 128);
/* oklch */ color: oklch(32.0% 0.156 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c5ca6',
    500: '#201f80',
    950: '#000000',
  },
}
SCSS
$custom: #201f80;
$custom-light: #6c5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#201f80",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 240.619,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31993,
    "c": 0.15638,
    "h": 273.5
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#201F80
secondary
#B2B348
accent
#E444E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201F80

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

Preview Lab → · Contrast checker → · Palette generator →

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