#201F66#201F66

#201F66 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.121 H 276.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#201F66
RGBrgb(32, 31, 102)
HSLhsl(241, 53%, 26%)
HSVhsv(241, 70%, 40%)
CMYKcmyk(68.6%, 69.6%, 0%, 60%)
CIE-LABlab(16.73, 25.00, -41.59)
CIE-LCHlch(16.73, 48.53, 301.01°)
OKLaboklab(29.25% 0.0137 -0.1199)
OKLCHoklch(29.25% 0.121 276.5)
XYZxyz(3.4831, 2.2461, 12.8178)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F66 #65661F
analogous
#1F4166 #201F66 #431F66
triadic
#201F66 #66201F #1F6620
tetradic
#201F66 #661F41 #65661F #1F6643
square
#201F66 #661F41 #65661F #1F6643
split-complementary
#201F66 #66431F #41661F
monochromatic
#070717 #111137 #201F66 #2F2D95 #3E3CC4

Accessibility & contrast

On white

14.49
#201F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#201F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F66
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F66#FFFFFF#000000##FFFFFF
##201F661.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201f66;
/* rgb */ color: rgb(32, 31, 102);
/* oklch */ color: oklch(29.3% 0.121 276.5);
Tailwind
colors: {
  custom: {
    50: '#655b92',
    500: '#201f66',
    950: '#000000',
  },
}
SCSS
$custom: #201f66;
$custom-light: #655b92;
$custom-dark: #000000;
JSON
{
  "hex": "#201f66",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 240.845,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.12073,
    "h": 276.5
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#201F66
secondary
#999A46
accent
#DD4BDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #201F66

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

Preview Lab → · Contrast checker → · Palette generator →

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