#201A5A#201A5A

#201A5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.110 H 280.4°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#201A5A
RGBrgb(32, 26, 90)
HSLhsl(246, 55%, 23%)
HSVhsv(246, 71%, 35%)
CMYKcmyk(64.4%, 71.1%, 0%, 64.7%)
CIE-LABlab(14.31, 23.96, -37.58)
CIE-LCHlch(14.31, 44.56, 302.52°)
OKLaboklab(27.14% 0.0198 -0.1082)
OKLCHoklch(27.14% 0.11 280.4)
XYZxyz(2.8099, 1.7839, 9.8671)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A5A #545A1A
analogous
#1A345A #201A5A #401A5A
triadic
#201A5A #5A201A #1A5A20
tetradic
#201A5A #5A1A34 #545A1A #1A5A40
square
#201A5A #5A1A34 #545A1A #1A5A40
split-complementary
#201A5A #5A401A #345A1A
monochromatic
#080718 #0F0C2B #201A5A #312889 #4235B9

Accessibility & contrast

On white

15.48
#201A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A5A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A5A#FFFFFF#000000##FFFFFF
##201A5A1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201a5a;
/* rgb */ color: rgb(32, 26, 90);
/* oklch */ color: oklch(27.1% 0.110 280.4);
Tailwind
colors: {
  custom: {
    50: '#635789',
    500: '#201a5a',
    950: '#000000',
  },
}
SCSS
$custom: #201a5a;
$custom-light: #635789;
$custom-dark: #000000;
JSON
{
  "hex": "#201a5a",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 245.625,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27139,
    "c": 0.10999,
    "h": 280.4
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#201A5A
secondary
#899040
accent
#DF49D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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