#201F6D#201F6D

#201F6D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.131 H 275.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#201F6D
RGBrgb(32, 31, 109)
HSLhsl(241, 56%, 27%)
HSVhsv(241, 72%, 43%)
CMYKcmyk(70.6%, 71.6%, 0%, 57.3%)
CIE-LABlab(17.42, 27.60, -45.04)
CIE-LCHlch(17.42, 52.83, 301.50°)
OKLaboklab(29.96% 0.0128 -0.1301)
OKLCHoklch(29.96% 0.131 275.6)
XYZxyz(3.8451, 2.3908, 14.7239)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F6D #6C6D1F
analogous
#1F456D #201F6D #471F6D
triadic
#201F6D #6D201F #1F6D20
tetradic
#201F6D #6D1F45 #6C6D1F #1F6D47
square
#201F6D #6D1F45 #6C6D1F #1F6D47
split-complementary
#201F6D #6D471F #456D1F
monochromatic
#070718 #12113D #201F6D #2E2D9D #403EC8

Accessibility & contrast

On white

14.21
#201F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#201F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F6D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F6D#FFFFFF#000000##FFFFFF
##201F6D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201f6d;
/* rgb */ color: rgb(32, 31, 109);
/* oklch */ color: oklch(30.0% 0.131 275.6);
Tailwind
colors: {
  custom: {
    50: '#675b98',
    500: '#201f6d',
    950: '#000000',
  },
}
SCSS
$custom: #201f6d;
$custom-light: #675b98;
$custom-dark: #000000;
JSON
{
  "hex": "#201f6d",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 240.769,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29962,
    "c": 0.13069,
    "h": 275.6
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#201F6D
secondary
#A0A147
accent
#DF49DD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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