#201A4E#201A4E

#201A4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.092 H 283.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#201A4E
RGBrgb(32, 26, 78)
HSLhsl(247, 50%, 20%)
HSVhsv(247, 67%, 31%)
CMYKcmyk(59%, 66.7%, 0%, 69.4%)
CIE-LABlab(13.20, 19.57, -31.23)
CIE-LCHlch(13.20, 36.86, 302.07°)
OKLaboklab(25.99% 0.021 -0.0896)
OKLCHoklch(25.99% 0.092 283.2)
XYZxyz(2.3398, 1.5958, 7.3910)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A4E #484E1A
analogous
#1A2E4E #201A4E #3A1A4E
triadic
#201A4E #4E201A #1A4E20
tetradic
#201A4E #4E1A2E #484E1A #1A4E3A
square
#201A4E #4E1A2E #484E1A #1A4E3A
split-complementary
#201A4E #4E3A1A #2E4E1A
monochromatic
#090817 #0D0B20 #201A4E #33297C #4639AA

Accessibility & contrast

On white

15.92
#201A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A4E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A4E#FFFFFF#000000##FFFFFF
##201A4E1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#0C2631
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201a4e;
/* rgb */ color: rgb(32, 26, 78);
/* oklch */ color: oklch(26.0% 0.092 283.2);
Tailwind
colors: {
  custom: {
    50: '#615680',
    500: '#201a4e',
    950: '#000000',
  },
}
SCSS
$custom: #201a4e;
$custom-light: #615680;
$custom-dark: #000000;
JSON
{
  "hex": "#201a4e",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 246.923,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25989,
    "c": 0.09198,
    "h": 283.2
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#201A4E
secondary
#7C8440
accent
#DA4EC9
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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