#201A5B#201A5B

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

Color values

HEX#201A5B
RGBrgb(32, 26, 91)
HSLhsl(246, 56%, 23%)
HSVhsv(246, 71%, 36%)
CMYKcmyk(64.8%, 71.4%, 0%, 64.3%)
CIE-LABlab(14.41, 24.33, -38.09)
CIE-LCHlch(14.41, 45.19, 302.56°)
OKLaboklab(27.24% 0.0197 -0.1097)
OKLCHoklch(27.24% 0.111 280.2)
XYZxyz(2.8528, 1.8010, 10.0928)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A5B #555B1A
analogous
#1A355B #201A5B #401A5B
triadic
#201A5B #5B201A #1A5B20
tetradic
#201A5B #5B1A35 #555B1A #1A5B40
square
#201A5B #5B1A35 #555B1A #1A5B40
split-complementary
#201A5B #5B401A #355B1A
monochromatic
#080718 #0F0C2B #201A5B #31288B #4135BA

Accessibility & contrast

On white

15.44
#201A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#201A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A5B
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A5B#FFFFFF#000000##FFFFFF
##201A5B1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201a5b;
/* rgb */ color: rgb(32, 26, 91);
/* oklch */ color: oklch(27.2% 0.111 280.2);
Tailwind
colors: {
  custom: {
    50: '#63578a',
    500: '#201a5b',
    950: '#000000',
  },
}
SCSS
$custom: #201a5b;
$custom-light: #63578a;
$custom-dark: #000000;
JSON
{
  "hex": "#201a5b",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 245.538,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27239,
    "c": 0.11145,
    "h": 280.2
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#201A5B
secondary
#8A9140
accent
#DF49D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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