#201E7A#201E7A

#201E7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.150 H 274.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#201E7A
RGBrgb(32, 30, 122)
HSLhsl(241, 61%, 30%)
HSVhsv(241, 75%, 48%)
CMYKcmyk(73.8%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.54, 32.95, -51.57)
CIE-LCHlch(18.54, 61.20, 302.58°)
OKLaboklab(31.18% 0.0114 -0.1491)
OKLCHoklch(31.18% 0.15 274.4)
XYZxyz(4.5716, 2.6403, 18.6773)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E7A #787A1E
analogous
#1E4A7A #201E7A #4E1E7A
triadic
#201E7A #7A201E #1E7A20
tetradic
#201E7A #7A1E4A #787A1E #1E7A4E
square
#201E7A #7A1E4A #787A1E #1E7A4E
split-complementary
#201E7A #7A4E1E #4A7A1E
monochromatic
#060619 #131249 #201E7A #2D2AAB #4542D0

Accessibility & contrast

On white

13.74
#201E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201E7A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E7A#FFFFFF#000000##FFFFFF
##201E7A1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201e7a;
/* rgb */ color: rgb(32, 30, 122);
/* oklch */ color: oklch(31.2% 0.150 274.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ba1',
    500: '#201e7a',
    950: '#000000',
  },
}
SCSS
$custom: #201e7a;
$custom-light: #6b5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#201e7a",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 241.304,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.14956,
    "h": 274.4
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#201E7A
secondary
#ABAE46
accent
#E444E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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