#201C7C#201C7C

#201C7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.154 H 274.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#201C7C
RGBrgb(32, 28, 124)
HSLhsl(243, 63%, 30%)
HSVhsv(243, 77%, 49%)
CMYKcmyk(74.2%, 77.4%, 0%, 51.4%)
CIE-LABlab(18.33, 34.86, -53.19)
CIE-LCHlch(18.33, 63.60, 303.24°)
OKLaboklab(31.09% 0.0121 -0.1538)
OKLCHoklch(31.09% 0.154 274.5)
XYZxyz(4.6478, 2.5924, 19.3203)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C7C #787C1C
analogous
#1C487C #201C7C #501C7C
triadic
#201C7C #7C201C #1C7C20
tetradic
#201C7C #7C1C48 #787C1C #1C7C50
square
#201C7C #7C1C48 #787C1C #1C7C50
split-complementary
#201C7C #7C501C #487C1C
monochromatic
#060619 #13114A #201C7C #2D27AE #453FD4

Accessibility & contrast

On white

13.83
#201C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201C7C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C7C#FFFFFF#000000##FFFFFF
##201C7C1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201c7c;
/* rgb */ color: rgb(32, 28, 124);
/* oklch */ color: oklch(31.1% 0.154 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b5aa3',
    500: '#201c7c',
    950: '#000000',
  },
}
SCSS
$custom: #201c7c;
$custom-light: #6b5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#201c7c",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 242.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31094,
    "c": 0.15432,
    "h": 274.5
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#201C7C
secondary
#ABB044
accent
#E642DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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