#201D6B#201D6B

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

Color values

HEX#201D6B
RGBrgb(32, 29, 107)
HSLhsl(242, 57%, 27%)
HSVhsv(242, 73%, 42%)
CMYKcmyk(70.1%, 72.9%, 0%, 58%)
CIE-LABlab(16.73, 28.18, -44.86)
CIE-LCHlch(16.73, 52.98, 302.14°)
OKLaboklab(29.41% 0.0147 -0.1295)
OKLCHoklch(29.41% 0.13 276.5)
XYZxyz(3.6880, 2.2470, 14.1464)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D6B #686B1D
analogous
#1D416B #201D6B #471D6B
triadic
#201D6B #6B201D #1D6B20
tetradic
#201D6B #6B1D41 #686B1D #1D6B47
square
#201D6B #6B1D41 #686B1D #1D6B47
split-complementary
#201D6B #6B471D #416B1D
monochromatic
#070718 #12103B #201D6B #2E2A9B #3F39C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##201D6B#FFFFFF#000000##FFFFFF
##201D6B1.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)
#002D6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201d6b;
/* rgb */ color: rgb(32, 29, 107);
/* oklch */ color: oklch(29.4% 0.130 276.5);
Tailwind
colors: {
  custom: {
    50: '#675a96',
    500: '#201d6b',
    950: '#000000',
  },
}
SCSS
$custom: #201d6b;
$custom-light: #675a96;
$custom-dark: #000000;
JSON
{
  "hex": "#201d6b",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 242.308,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.13036,
    "h": 276.5
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#201D6B
secondary
#9CA044
accent
#E147DB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #201D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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