#201A5E#201A5E

#201A5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.116 H 279.6°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#201A5E
RGBrgb(32, 26, 94)
HSLhsl(245, 57%, 24%)
HSVhsv(245, 72%, 37%)
CMYKcmyk(66%, 72.3%, 0%, 63.1%)
CIE-LABlab(14.70, 25.42, -39.61)
CIE-LCHlch(14.70, 47.07, 302.69°)
OKLaboklab(27.54% 0.0192 -0.1142)
OKLCHoklch(27.54% 0.116 279.6)
XYZxyz(2.9848, 1.8538, 10.7880)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A5E #585E1A
analogous
#1A365E #201A5E #421A5E
triadic
#201A5E #5E201A #1A5E20
tetradic
#201A5E #5E1A36 #585E1A #1A5E42
square
#201A5E #5E1A36 #585E1A #1A5E42
split-complementary
#201A5E #5E421A #365E1A
monochromatic
#080718 #100D2E #201A5E #30278E #4135BE

Accessibility & contrast

On white

15.32
#201A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A5E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A5E#FFFFFF#000000##FFFFFF
##201A5E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201a5e;
/* rgb */ color: rgb(32, 26, 94);
/* oklch */ color: oklch(27.5% 0.116 279.6);
Tailwind
colors: {
  custom: {
    50: '#64578c',
    500: '#201a5e',
    950: '#000000',
  },
}
SCSS
$custom: #201a5e;
$custom-light: #64578c;
$custom-dark: #000000;
JSON
{
  "hex": "#201a5e",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 245.294,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27542,
    "c": 0.11577,
    "h": 279.6
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#201A5E
secondary
#8C9440
accent
#E048D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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