#201E7E#201E7E

#201E7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.155 H 273.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#201E7E
RGBrgb(32, 30, 126)
HSLhsl(241, 62%, 31%)
HSVhsv(241, 76%, 49%)
CMYKcmyk(74.6%, 76.2%, 0%, 50.6%)
CIE-LABlab(18.98, 34.37, -53.40)
CIE-LCHlch(18.98, 63.50, 302.76°)
OKLaboklab(31.62% 0.0106 -0.1545)
OKLCHoklch(31.62% 0.155 273.9)
XYZxyz(4.8246, 2.7415, 20.0095)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E7E #7C7E1E
analogous
#1E4C7E #201E7E #501E7E
triadic
#201E7E #7E201E #1E7E20
tetradic
#201E7E #7E1E4C #7C7E1E #1E7E50
square
#201E7E #7E1E4C #7C7E1E #1E7E50
split-complementary
#201E7E #7E501E #4C7E1E
monochromatic
#07061B #13124D #201E7E #2D2AAF #4744D2

Accessibility & contrast

On white

13.56
#201E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201E7E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E7E#FFFFFF#000000##FFFFFF
##201E7E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201e7e;
/* rgb */ color: rgb(32, 30, 126);
/* oklch */ color: oklch(31.6% 0.155 273.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ba4',
    500: '#201e7e',
    950: '#000000',
  },
}
SCSS
$custom: #201e7e;
$custom-light: #6c5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#201e7e",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 241.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31618,
    "c": 0.15482,
    "h": 273.9
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#201E7E
secondary
#AFB147
accent
#E543E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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