#201F71#201F71

#201F71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.136 H 275.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#201F71
RGBrgb(32, 31, 113)
HSLhsl(241, 57%, 28%)
HSVhsv(241, 73%, 44%)
CMYKcmyk(71.7%, 72.6%, 0%, 55.7%)
CIE-LABlab(17.82, 29.07, -46.97)
CIE-LCHlch(17.82, 55.24, 301.75°)
OKLaboklab(30.38% 0.0123 -0.1357)
OKLCHoklch(30.38% 0.136 275.2)
XYZxyz(4.0653, 2.4789, 15.8838)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F71 #70711F
analogous
#1F4771 #201F71 #491F71
triadic
#201F71 #71201F #1F7120
tetradic
#201F71 #711F47 #70711F #1F7149
square
#201F71 #711F47 #70711F #1F7149
split-complementary
#201F71 #71491F #47711F
monochromatic
#070718 #121241 #201F71 #2E2CA1 #4240CB

Accessibility & contrast

On white

14.04
#201F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F71
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F71#FFFFFF#000000##FFFFFF
##201F711.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201f71;
/* rgb */ color: rgb(32, 31, 113);
/* oklch */ color: oklch(30.4% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#685b9b',
    500: '#201f71',
    950: '#000000',
  },
}
SCSS
$custom: #201f71;
$custom-light: #685b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#201f71",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 240.732,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30377,
    "c": 0.13625,
    "h": 275.2
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#201F71
secondary
#A4A547
accent
#E048DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201F71

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

Preview Lab → · Contrast checker → · Palette generator →

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