#201F6B#201F6B

#201F6B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.128 H 275.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#201F6B
RGBrgb(32, 31, 107)
HSLhsl(241, 55%, 27%)
HSVhsv(241, 71%, 42%)
CMYKcmyk(70.1%, 71%, 0%, 58%)
CIE-LABlab(17.22, 26.86, -44.06)
CIE-LCHlch(17.22, 51.61, 301.37°)
OKLaboklab(29.76% 0.0131 -0.1272)
OKLCHoklch(29.76% 0.128 275.9)
XYZxyz(3.7386, 2.3483, 14.1633)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F6B #6A6B1F
analogous
#1F446B #201F6B #461F6B
triadic
#201F6B #6B201F #1F6B20
tetradic
#201F6B #6B1F44 #6A6B1F #1F6B46
square
#201F6B #6B1F44 #6A6B1F #1F6B46
split-complementary
#201F6B #6B461F #446B1F
monochromatic
#070718 #12113C #201F6B #2E2D9A #3F3DC7

Accessibility & contrast

On white

14.29
#201F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F6B
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F6B#FFFFFF#000000##FFFFFF
##201F6B1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201f6b;
/* rgb */ color: rgb(32, 31, 107);
/* oklch */ color: oklch(29.8% 0.128 275.9);
Tailwind
colors: {
  custom: {
    50: '#675b96',
    500: '#201f6b',
    950: '#000000',
  },
}
SCSS
$custom: #201f6b;
$custom-light: #675b96;
$custom-dark: #000000;
JSON
{
  "hex": "#201f6b",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 240.789,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29756,
    "c": 0.12787,
    "h": 275.9
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#201F6B
secondary
#9E9F47
accent
#DE49DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #201F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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