#201D6C#201D6C

#201D6C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.132 H 276.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#201D6C
RGBrgb(32, 29, 108)
HSLhsl(242, 58%, 27%)
HSVhsv(242, 73%, 42%)
CMYKcmyk(70.4%, 73.1%, 0%, 57.6%)
CIE-LABlab(16.84, 28.54, -45.34)
CIE-LCHlch(16.84, 53.58, 302.19°)
OKLaboklab(29.51% 0.0145 -0.1309)
OKLCHoklch(29.51% 0.132 276.3)
XYZxyz(3.7409, 2.2682, 14.4251)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D6C #696C1D
analogous
#1D426C #201D6C #481D6C
triadic
#201D6C #6C201D #1D6C20
tetradic
#201D6C #6C1D42 #696C1D #1D6C48
square
#201D6C #6C1D42 #696C1D #1D6C48
split-complementary
#201D6C #6C481D #426C1D
monochromatic
#070618 #12103C #201D6C #2E2A9C #3F39CA

Accessibility & contrast

On white

14.44
#201D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D6C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D6C#FFFFFF#000000##FFFFFF
##201D6C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201d6c;
/* rgb */ color: rgb(32, 29, 108);
/* oklch */ color: oklch(29.5% 0.132 276.3);
Tailwind
colors: {
  custom: {
    50: '#675a97',
    500: '#201d6c',
    950: '#000000',
  },
}
SCSS
$custom: #201d6c;
$custom-light: #675a97;
$custom-dark: #000000;
JSON
{
  "hex": "#201d6c",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 242.278,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29512,
    "c": 0.13174,
    "h": 276.3
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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