#201F77#201F77

#201F77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.144 H 274.5°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#201F77
RGBrgb(32, 31, 119)
HSLhsl(241, 59%, 29%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(73.1%, 73.9%, 0%, 53.3%)
CIE-LABlab(18.45, 31.25, -49.81)
CIE-LCHlch(18.45, 58.80, 302.11°)
OKLaboklab(31.01% 0.0113 -0.144)
OKLCHoklch(31.01% 0.144 274.5)
XYZxyz(4.4143, 2.6185, 17.7220)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F77 #76771F
analogous
#1F4A77 #201F77 #4C1F77
triadic
#201F77 #77201F #1F7720
tetradic
#201F77 #771F4A #76771F #1F774C
square
#201F77 #771F4A #76771F #1F774C
split-complementary
#201F77 #774C1F #4A771F
monochromatic
#070618 #131246 #201F77 #2D2CA8 #4443CE

Accessibility & contrast

On white

13.78
#201F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F77
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F77#FFFFFF#000000##FFFFFF
##201F771.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201f77;
/* rgb */ color: rgb(32, 31, 119);
/* oklch */ color: oklch(31.0% 0.144 274.5);
Tailwind
colors: {
  custom: {
    50: '#6a5b9f',
    500: '#201f77',
    950: '#000000',
  },
}
SCSS
$custom: #201f77;
$custom-light: #6a5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#201f77",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 240.682,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31014,
    "c": 0.14443,
    "h": 274.5
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#201F77
secondary
#A9AB47
accent
#E246E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #201F77

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

Preview Lab → · Contrast checker → · Palette generator →

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