#201E52#201E52

#201E52 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.092 H 280.0°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#201E52
RGBrgb(32, 30, 82)
HSLhsl(242, 46%, 22%)
HSVhsv(242, 63%, 32%)
CMYKcmyk(61%, 63.4%, 0%, 67.8%)
CIE-LABlab(14.65, 18.20, -31.62)
CIE-LCHlch(14.65, 36.48, 299.93°)
OKLaboklab(27.16% 0.0161 -0.0907)
OKLCHoklch(27.16% 0.092 280)
XYZxyz(2.5825, 1.8447, 8.2010)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E52 #50521E
analogous
#1E3652 #201E52 #3A1E52
triadic
#201E52 #52201E #1E5220
tetradic
#201E52 #521E36 #50521E #1E523A
square
#201E52 #521E36 #50521E #1E523A
split-complementary
#201E52 #523A1E #36521E
monochromatic
#090816 #0F0E25 #201E52 #312E7F #433FAC

Accessibility & contrast

On white

15.34
#201E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E52
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E52#FFFFFF#000000##FFFFFF
##201E521.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#072A34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201e52;
/* rgb */ color: rgb(32, 30, 82);
/* oklch */ color: oklch(27.2% 0.092 280.0);
Tailwind
colors: {
  custom: {
    50: '#615983',
    500: '#201e52',
    950: '#000000',
  },
}
SCSS
$custom: #201e52;
$custom-light: #615983;
$custom-dark: #000000;
JSON
{
  "hex": "#201e52",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 242.308,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27162,
    "c": 0.09208,
    "h": 280
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#201E52
secondary
#848745
accent
#D652D1
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030A
muted
#79787C

Preview Lab

Preview with #201E52

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

Preview Lab → · Contrast checker → · Palette generator →

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