#201E54#201E54

#201E54 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.095 H 279.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#201E54
RGBrgb(32, 30, 84)
HSLhsl(242, 47%, 22%)
HSVhsv(242, 64%, 33%)
CMYKcmyk(61.9%, 64.3%, 0%, 67.1%)
CIE-LABlab(14.82, 18.95, -32.70)
CIE-LCHlch(14.82, 37.80, 300.10°)
OKLaboklab(27.34% 0.016 -0.0938)
OKLCHoklch(27.34% 0.095 279.7)
XYZxyz(2.6597, 1.8755, 8.6076)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E54 #52541E
analogous
#1E3754 #201E54 #3B1E54
triadic
#201E54 #54201E #1E5420
tetradic
#201E54 #541E37 #52541E #1E543B
square
#201E54 #541E37 #52541E #1E543B
split-complementary
#201E54 #543B1E #37541E
monochromatic
#090817 #0F0E27 #201E54 #312E81 #423EAE

Accessibility & contrast

On white

15.27
#201E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E54
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E54#FFFFFF#000000##FFFFFF
##201E541.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#042B35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201e54;
/* rgb */ color: rgb(32, 30, 84);
/* oklch */ color: oklch(27.3% 0.095 279.7);
Tailwind
colors: {
  custom: {
    50: '#615a85',
    500: '#201e54',
    950: '#000000',
  },
}
SCSS
$custom: #201e54;
$custom-light: #615a85;
$custom-dark: #000000;
JSON
{
  "hex": "#201e54",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 242.222,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27342,
    "c": 0.09521,
    "h": 279.7
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#201E54
secondary
#868945
accent
#D751D2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201E54

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

Preview Lab → · Contrast checker → · Palette generator →

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