#201E7F#201E7F

#201E7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.156 H 273.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#201E7F
RGBrgb(32, 30, 127)
HSLhsl(241, 62%, 31%)
HSVhsv(241, 76%, 50%)
CMYKcmyk(74.8%, 76.4%, 0%, 50.2%)
CIE-LABlab(19.09, 34.72, -53.86)
CIE-LCHlch(19.09, 64.08, 302.81°)
OKLaboklab(31.73% 0.0104 -0.1558)
OKLCHoklch(31.73% 0.156 273.8)
XYZxyz(4.8894, 2.7674, 20.3510)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E7F #7D7F1E
analogous
#1E4C7F #201E7F #501E7F
triadic
#201E7F #7F201E #1E7F20
tetradic
#201E7F #7F1E4C #7D7F1E #1E7F50
square
#201E7F #7F1E4C #7D7F1E #1E7F50
split-complementary
#201E7F #7F501E #4C7F1E
monochromatic
#07071C #14124D #201E7F #2C2AB1 #4744D3

Accessibility & contrast

On white

13.52
#201E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#201E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E7F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E7F#FFFFFF#000000##FFFFFF
##201E7F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201e7f;
/* rgb */ color: rgb(32, 30, 127);
/* oklch */ color: oklch(31.7% 0.156 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ba5',
    500: '#201e7f',
    950: '#000000',
  },
}
SCSS
$custom: #201e7f;
$custom-light: #6c5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#201e7f",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 241.237,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31729,
    "c": 0.15613,
    "h": 273.8
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#201E7F
secondary
#B0B247
accent
#E543E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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