#201C7E#201C7E

#201C7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.157 H 274.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#201C7E
RGBrgb(32, 28, 126)
HSLhsl(242, 64%, 30%)
HSVhsv(242, 78%, 49%)
CMYKcmyk(74.6%, 77.8%, 0%, 50.6%)
CIE-LABlab(18.56, 35.56, -54.10)
CIE-LCHlch(18.56, 64.74, 303.31°)
OKLaboklab(31.32% 0.0116 -0.1565)
OKLCHoklch(31.32% 0.157 274.3)
XYZxyz(4.7756, 2.6435, 19.9932)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C7E #7A7E1C
analogous
#1C497E #201C7E #511C7E
triadic
#201C7E #7E201C #1C7E20
tetradic
#201C7E #7E1C49 #7A7E1C #1C7E51
square
#201C7E #7E1C49 #7A7E1C #1C7E51
split-complementary
#201C7E #7E511C #497E1C
monochromatic
#07061A #13114C #201C7E #2D27B0 #4640D5

Accessibility & contrast

On white

13.74
#201C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#201C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C7E
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C7E#FFFFFF#000000##FFFFFF
##201C7E1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201c7e;
/* rgb */ color: rgb(32, 28, 126);
/* oklch */ color: oklch(31.3% 0.157 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aa4',
    500: '#201c7e',
    950: '#000000',
  },
}
SCSS
$custom: #201c7e;
$custom-light: #6c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#201c7e",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 242.449,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31319,
    "c": 0.15691,
    "h": 274.3
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#201C7E
secondary
#ADB244
accent
#E741E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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