#201C7F#201C7F

#201C7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.158 H 274.1°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#201C7F
RGBrgb(32, 28, 127)
HSLhsl(242, 64%, 30%)
HSVhsv(242, 78%, 50%)
CMYKcmyk(74.8%, 78%, 0%, 50.2%)
CIE-LABlab(18.67, 35.90, -54.55)
CIE-LCHlch(18.67, 65.30, 303.35°)
OKLaboklab(31.43% 0.0114 -0.1578)
OKLCHoklch(31.43% 0.158 274.1)
XYZxyz(4.8404, 2.6694, 20.3347)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C7F #7B7F1C
analogous
#1C4A7F #201C7F #511C7F
triadic
#201C7F #7F201C #1C7F20
tetradic
#201C7F #7F1C4A #7B7F1C #1C7F51
square
#201C7F #7F1C4A #7B7F1C #1C7F51
split-complementary
#201C7F #7F511C #4A7F1C
monochromatic
#07061B #13114D #201C7F #2D27B1 #4640D5

Accessibility & contrast

On white

13.69
#201C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201C7F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C7F#FFFFFF#000000##FFFFFF
##201C7F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201c7f;
/* rgb */ color: rgb(32, 28, 127);
/* oklch */ color: oklch(31.4% 0.158 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c5aa5',
    500: '#201c7f',
    950: '#000000',
  },
}
SCSS
$custom: #201c7f;
$custom-light: #6c5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#201c7f",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 242.424,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.15819,
    "h": 274.1
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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