#201E7C#201E7C

#201E7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.152 H 274.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#201E7C
RGBrgb(32, 30, 124)
HSLhsl(241, 61%, 30%)
HSVhsv(241, 76%, 49%)
CMYKcmyk(74.2%, 75.8%, 0%, 51.4%)
CIE-LABlab(18.76, 33.66, -52.49)
CIE-LCHlch(18.76, 62.35, 302.67°)
OKLaboklab(31.4% 0.011 -0.1518)
OKLCHoklch(31.4% 0.152 274.1)
XYZxyz(4.6968, 2.6904, 19.3366)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E7C #7A7C1E
analogous
#1E4B7C #201E7C #4F1E7C
triadic
#201E7C #7C201E #1E7C20
tetradic
#201E7C #7C1E4B #7A7C1E #1E7C4F
square
#201E7C #7C1E4B #7A7C1E #1E7C4F
split-complementary
#201E7C #7C4F1E #4B7C1E
monochromatic
#070619 #13124B #201E7C #2D2AAD #4643D1

Accessibility & contrast

On white

13.65
#201E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201E7C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E7C#FFFFFF#000000##FFFFFF
##201E7C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201e7c;
/* rgb */ color: rgb(32, 30, 124);
/* oklch */ color: oklch(31.4% 0.152 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b5ba3',
    500: '#201e7c',
    950: '#000000',
  },
}
SCSS
$custom: #201e7c;
$custom-light: #6b5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#201e7c",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 241.277,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31397,
    "c": 0.15221,
    "h": 274.1
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#201E7C
secondary
#ADAF46
accent
#E444E1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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