#201E4F#201E4F

#201E4F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.087 H 280.6°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#201E4F
RGBrgb(32, 30, 79)
HSLhsl(242, 45%, 21%)
HSVhsv(242, 62%, 31%)
CMYKcmyk(59.5%, 62%, 0%, 69%)
CIE-LABlab(14.40, 17.08, -29.98)
CIE-LCHlch(14.40, 34.50, 299.67°)
OKLaboklab(26.9% 0.0161 -0.0858)
OKLCHoklch(26.9% 0.087 280.6)
XYZxyz(2.4708, 1.8000, 7.6129)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E4F #4D4F1E
analogous
#1E354F #201E4F #391E4F
triadic
#201E4F #4F201E #1E4F20
tetradic
#201E4F #4F1E35 #4D4F1E #1E4F39
square
#201E4F #4F1E35 #4D4F1E #1E4F39
split-complementary
#201E4F #4F391E #354F1E
monochromatic
#090816 #0E0D23 #201E4F #322F7B #4440A8

Accessibility & contrast

On white

15.44
#201E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#201E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E4F
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E4F#FFFFFF#000000##FFFFFF
##201E4F1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#0A2933
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201e4f;
/* rgb */ color: rgb(32, 30, 79);
/* oklch */ color: oklch(26.9% 0.087 280.6);
Tailwind
colors: {
  custom: {
    50: '#605981',
    500: '#201e4f',
    950: '#000000',
  },
}
SCSS
$custom: #201e4f;
$custom-light: #605981;
$custom-dark: #000000;
JSON
{
  "hex": "#201e4f",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 242.449,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26898,
    "c": 0.08734,
    "h": 280.6
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#201E4F
secondary
#818445
accent
#D553CF
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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