#201C7D#201C7D

#201C7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.156 H 274.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#201C7D
RGBrgb(32, 28, 125)
HSLhsl(242, 63%, 30%)
HSVhsv(242, 78%, 49%)
CMYKcmyk(74.4%, 77.6%, 0%, 51%)
CIE-LABlab(18.44, 35.21, -53.65)
CIE-LCHlch(18.44, 64.17, 303.28°)
OKLaboklab(31.21% 0.0119 -0.1552)
OKLCHoklch(31.21% 0.156 274.4)
XYZxyz(4.7114, 2.6178, 19.6551)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C7D #797D1C
analogous
#1C497D #201C7D #501C7D
triadic
#201C7D #7D201C #1C7D20
tetradic
#201C7D #7D1C49 #797D1C #1C7D50
square
#201C7D #7D1C49 #797D1C #1C7D50
split-complementary
#201C7D #7D501C #497D1C
monochromatic
#060619 #13114B #201C7D #2D27AF #453FD4

Accessibility & contrast

On white

13.78
#201C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C7D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C7D#FFFFFF#000000##FFFFFF
##201C7D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201c7d;
/* rgb */ color: rgb(32, 28, 125);
/* oklch */ color: oklch(31.2% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c5aa4',
    500: '#201c7d',
    950: '#000000',
  },
}
SCSS
$custom: #201c7d;
$custom-light: #6c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#201c7d",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 242.474,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31206,
    "c": 0.15561,
    "h": 274.4
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#201C7D
secondary
#ACB144
accent
#E641E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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