#201E5B#201E5B

#201E5B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.106 H 278.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#201E5B
RGBrgb(32, 30, 91)
HSLhsl(242, 50%, 24%)
HSVhsv(242, 67%, 36%)
CMYKcmyk(64.8%, 67%, 0%, 64.3%)
CIE-LABlab(15.44, 21.58, -36.40)
CIE-LCHlch(15.44, 42.32, 300.66°)
OKLaboklab(27.99% 0.0157 -0.1047)
OKLCHoklch(27.99% 0.106 278.5)
XYZxyz(2.9477, 1.9907, 10.1244)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E5B #595B1E
analogous
#1E3A5B #201E5B #3E1E5B
triadic
#201E5B #5B201E #1E5B20
tetradic
#201E5B #5B1E3A #595B1E #1E5B3E
square
#201E5B #5B1E3A #595B1E #1E5B3E
split-complementary
#201E5B #5B3E1E #3A5B1E
monochromatic
#080817 #100F2D #201E5B #302D89 #403CB7

Accessibility & contrast

On white

15.02
#201E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#201E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E5B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E5B#FFFFFF#000000##FFFFFF
##201E5B1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201e5b;
/* rgb */ color: rgb(32, 30, 91);
/* oklch */ color: oklch(28.0% 0.106 278.5);
Tailwind
colors: {
  custom: {
    50: '#635a8a',
    500: '#201e5b',
    950: '#000000',
  },
}
SCSS
$custom: #201e5b;
$custom-light: #635a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#201e5b",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 241.967,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2799,
    "c": 0.10591,
    "h": 278.5
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#201E5B
secondary
#8D9045
accent
#DA4ED5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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