#201A5C#201A5C

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

Color values

HEX#201A5C
RGBrgb(32, 26, 92)
HSLhsl(245, 56%, 23%)
HSVhsv(245, 72%, 36%)
CMYKcmyk(65.2%, 71.7%, 0%, 63.9%)
CIE-LABlab(14.50, 24.69, -38.60)
CIE-LCHlch(14.50, 45.82, 302.60°)
OKLaboklab(27.34% 0.0195 -0.1112)
OKLCHoklch(27.34% 0.113 280)
XYZxyz(2.8962, 1.8184, 10.3215)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A5C #565C1A
analogous
#1A355C #201A5C #411A5C
triadic
#201A5C #5C201A #1A5C20
tetradic
#201A5C #5C1A35 #565C1A #1A5C41
square
#201A5C #5C1A35 #565C1A #1A5C41
split-complementary
#201A5C #5C411A #355C1A
monochromatic
#080718 #0F0D2C #201A5C #31278C #4135BB

Accessibility & contrast

On white

15.40
#201A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A5C
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A5C#FFFFFF#000000##FFFFFF
##201A5C1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201a5c;
/* rgb */ color: rgb(32, 26, 92);
/* oklch */ color: oklch(27.3% 0.113 280.0);
Tailwind
colors: {
  custom: {
    50: '#64578b',
    500: '#201a5c',
    950: '#000000',
  },
}
SCSS
$custom: #201a5c;
$custom-light: #64578b;
$custom-dark: #000000;
JSON
{
  "hex": "#201a5c",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 245.455,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27339,
    "c": 0.1129,
    "h": 280
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#201A5C
secondary
#8B9240
accent
#DF49D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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