#201A5D#201A5D

#201A5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.114 H 279.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#201A5D
RGBrgb(32, 26, 93)
HSLhsl(245, 56%, 23%)
HSVhsv(245, 72%, 36%)
CMYKcmyk(65.6%, 72%, 0%, 63.5%)
CIE-LABlab(14.60, 25.05, -39.11)
CIE-LCHlch(14.60, 46.44, 302.64°)
OKLaboklab(27.44% 0.0194 -0.1127)
OKLCHoklch(27.44% 0.114 279.7)
XYZxyz(2.9402, 1.8360, 10.5532)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A5D #575D1A
analogous
#1A355D #201A5D #411A5D
triadic
#201A5D #5D201A #1A5D20
tetradic
#201A5D #5D1A35 #575D1A #1A5D41
square
#201A5D #5D1A35 #575D1A #1A5D41
split-complementary
#201A5D #5D411A #355D1A
monochromatic
#080718 #100D2D #201A5D #30278D #4135BD

Accessibility & contrast

On white

15.36
#201A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A5D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A5D#FFFFFF#000000##FFFFFF
##201A5D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201a5d;
/* rgb */ color: rgb(32, 26, 93);
/* oklch */ color: oklch(27.4% 0.114 279.7);
Tailwind
colors: {
  custom: {
    50: '#64578c',
    500: '#201a5d',
    950: '#000000',
  },
}
SCSS
$custom: #201a5d;
$custom-light: #64578c;
$custom-dark: #000000;
JSON
{
  "hex": "#201a5d",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 245.373,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.11434,
    "h": 279.7
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#201A5D
secondary
#8B9340
accent
#E048D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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