#201C4E#201C4E

#201C4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.089 H 282.0°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#201C4E
RGBrgb(32, 28, 78)
HSLhsl(245, 47%, 21%)
HSVhsv(245, 64%, 31%)
CMYKcmyk(59%, 64.1%, 0%, 69.4%)
CIE-LABlab(13.75, 18.15, -30.34)
CIE-LCHlch(13.75, 35.35, 300.88°)
OKLaboklab(26.39% 0.0185 -0.0869)
OKLCHoklch(26.39% 0.089 282)
XYZxyz(2.3856, 1.6875, 7.4063)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C4E #4A4E1C
analogous
#1C314E #201C4E #391C4E
triadic
#201C4E #4E201C #1C4E20
tetradic
#201C4E #4E1C31 #4A4E1C #1C4E39
square
#201C4E #4E1C31 #4A4E1C #1C4E39
split-complementary
#201C4E #4E391C #314E1C
monochromatic
#090817 #0E0C21 #201C4E #322C7B #453CA8

Accessibility & contrast

On white

15.70
#201C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#201C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C4E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C4E#FFFFFF#000000##FFFFFF
##201C4E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#0C2831
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201c4e;
/* rgb */ color: rgb(32, 28, 78);
/* oklch */ color: oklch(26.4% 0.089 282.0);
Tailwind
colors: {
  custom: {
    50: '#605880',
    500: '#201c4e',
    950: '#000000',
  },
}
SCSS
$custom: #201c4e;
$custom-light: #605880;
$custom-dark: #000000;
JSON
{
  "hex": "#201c4e",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 244.8,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26393,
    "c": 0.08888,
    "h": 282
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#201C4E
secondary
#7E8442
accent
#D751CC
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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