#201F6A#201F6A

#201F6A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.126 H 276.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#201F6A
RGBrgb(32, 31, 106)
HSLhsl(241, 55%, 27%)
HSVhsv(241, 71%, 42%)
CMYKcmyk(69.8%, 70.8%, 0%, 58.4%)
CIE-LABlab(17.12, 26.49, -43.57)
CIE-LCHlch(17.12, 51.00, 301.30°)
OKLaboklab(29.65% 0.0132 -0.1258)
OKLCHoklch(29.65% 0.126 276)
XYZxyz(3.6863, 2.3273, 13.8878)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F6A #696A1F
analogous
#1F446A #201F6A #461F6A
triadic
#201F6A #6A201F #1F6A20
tetradic
#201F6A #6A1F44 #696A1F #1F6A46
square
#201F6A #6A1F44 #696A1F #1F6A46
split-complementary
#201F6A #6A461F #446A1F
monochromatic
#070718 #12113B #201F6A #2E2D99 #3F3DC6

Accessibility & contrast

On white

14.33
#201F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#201F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F6A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F6A#FFFFFF#000000##FFFFFF
##201F6A1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201f6a;
/* rgb */ color: rgb(32, 31, 106);
/* oklch */ color: oklch(29.7% 0.126 276.0);
Tailwind
colors: {
  custom: {
    50: '#665b95',
    500: '#201f6a',
    950: '#000000',
  },
}
SCSS
$custom: #201f6a;
$custom-light: #665b95;
$custom-dark: #000000;
JSON
{
  "hex": "#201f6a",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 240.8,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.12646,
    "h": 276
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#201F6A
secondary
#9D9E47
accent
#DE4ADC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #201F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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