#201E7D#201E7D

#201E7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.154 H 274.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#201E7D
RGBrgb(32, 30, 125)
HSLhsl(241, 61%, 30%)
HSVhsv(241, 76%, 49%)
CMYKcmyk(74.4%, 76%, 0%, 51%)
CIE-LABlab(18.87, 34.01, -52.95)
CIE-LCHlch(18.87, 62.93, 302.72°)
OKLaboklab(31.51% 0.0108 -0.1531)
OKLCHoklch(31.51% 0.154 274)
XYZxyz(4.7604, 2.7158, 19.6714)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E7D #7B7D1E
analogous
#1E4B7D #201E7D #4F1E7D
triadic
#201E7D #7D201E #1E7D20
tetradic
#201E7D #7D1E4B #7B7D1E #1E7D4F
square
#201E7D #7D1E4B #7B7D1E #1E7D4F
split-complementary
#201E7D #7D4F1E #4B7D1E
monochromatic
#07061A #13124C #201E7D #2D2AAE #4643D2

Accessibility & contrast

On white

13.61
#201E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#201E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E7D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E7D#FFFFFF#000000##FFFFFF
##201E7D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201e7d;
/* rgb */ color: rgb(32, 30, 125);
/* oklch */ color: oklch(31.5% 0.154 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b5ba4',
    500: '#201e7d',
    950: '#000000',
  },
}
SCSS
$custom: #201e7d;
$custom-light: #6b5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#201e7d",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 241.263,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31508,
    "c": 0.15352,
    "h": 274
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#201E7D
secondary
#AEB046
accent
#E443E1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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