#201A8E#201A8E

#201A8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.179 H 272.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#201A8E
RGBrgb(32, 26, 142)
HSLhsl(243, 69%, 33%)
HSVhsv(243, 82%, 56%)
CMYKcmyk(77.5%, 81.7%, 0%, 44.3%)
CIE-LABlab(20.04, 42.04, -61.72)
CIE-LCHlch(20.04, 74.67, 304.26°)
OKLaboklab(32.91% 0.0088 -0.1786)
OKLCHoklch(32.91% 0.179 272.8)
XYZxyz(5.8459, 2.9982, 25.8566)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A8E #888E1A
analogous
#1A4E8E #201A8E #5A1A8E
triadic
#201A8E #8E201A #1A8E20
tetradic
#201A8E #8E1A4E #888E1A #1A8E5A
square
#201A8E #8E1A4E #888E1A #1A8E5A
split-complementary
#201A8E #8E5A1A #4E8E1A
monochromatic
#090727 #14115A #201A8E #2C23C2 #4D45DD

Accessibility & contrast

On white

13.13
#201A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#201A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A8E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A8E#FFFFFF#000000##FFFFFF
##201A8E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #201a8e;
/* rgb */ color: rgb(32, 26, 142);
/* oklch */ color: oklch(32.9% 0.179 272.8);
Tailwind
colors: {
  custom: {
    50: '#705ab0',
    500: '#201a8e',
    950: '#000000',
  },
}
SCSS
$custom: #201a8e;
$custom-light: #705ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#201a8e",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 243.103,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32906,
    "c": 0.1788,
    "h": 272.8
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#201A8E
secondary
#B8BE45
accent
#EC3CE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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