#201F72#201F72

#201F72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.138 H 275.0°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#201F72
RGBrgb(32, 31, 114)
HSLhsl(241, 57%, 28%)
HSVhsv(241, 73%, 45%)
CMYKcmyk(71.9%, 72.8%, 0%, 55.3%)
CIE-LABlab(17.93, 29.43, -47.45)
CIE-LCHlch(17.93, 55.83, 301.81°)
OKLaboklab(30.48% 0.0121 -0.1371)
OKLCHoklch(30.48% 0.138 275)
XYZxyz(4.1219, 2.5016, 16.1820)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F72 #71721F
analogous
#1F4772 #201F72 #491F72
triadic
#201F72 #72201F #1F7220
tetradic
#201F72 #721F47 #71721F #1F7249
square
#201F72 #721F47 #71721F #1F7249
split-complementary
#201F72 #72491F #47721F
monochromatic
#070718 #121242 #201F72 #2E2CA2 #4240CB

Accessibility & contrast

On white

14.00
#201F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#201F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F72
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F72#FFFFFF#000000##FFFFFF
##201F721.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201f72;
/* rgb */ color: rgb(32, 31, 114);
/* oklch */ color: oklch(30.5% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#685b9b',
    500: '#201f72',
    950: '#000000',
  },
}
SCSS
$custom: #201f72;
$custom-light: #685b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#201f72",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 240.723,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30482,
    "c": 0.13762,
    "h": 275
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#201F72
secondary
#A5A647
accent
#E047DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201F72

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

Preview Lab → · Contrast checker → · Palette generator →

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