#201C7B#201C7B

#201C7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.153 H 274.6°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#201C7B
RGBrgb(32, 28, 123)
HSLhsl(243, 63%, 30%)
HSVhsv(243, 77%, 48%)
CMYKcmyk(74%, 77.2%, 0%, 51.8%)
CIE-LABlab(18.22, 34.51, -52.74)
CIE-LCHlch(18.22, 63.03, 303.20°)
OKLaboklab(30.98% 0.0123 -0.1525)
OKLCHoklch(30.98% 0.153 274.6)
XYZxyz(4.5849, 2.5672, 18.9889)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C7B #777B1C
analogous
#1C487B #201C7B #4F1C7B
triadic
#201C7B #7B201C #1C7B20
tetradic
#201C7B #7B1C48 #777B1C #1C7B4F
square
#201C7B #7B1C48 #777B1C #1C7B4F
split-complementary
#201C7B #7B4F1C #487B1C
monochromatic
#060619 #131149 #201C7B #2D27AD #453ED3

Accessibility & contrast

On white

13.87
#201C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C7B
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C7B#FFFFFF#000000##FFFFFF
##201C7B1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201c7b;
/* rgb */ color: rgb(32, 28, 123);
/* oklch */ color: oklch(31.0% 0.153 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b5aa2',
    500: '#201c7b',
    950: '#000000',
  },
}
SCSS
$custom: #201c7b;
$custom-light: #6b5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#201c7b",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 242.526,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.15301,
    "h": 274.6
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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