#201A9E#201A9E

#201A9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.198 H 271.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#201A9E
RGBrgb(32, 26, 158)
HSLhsl(243, 72%, 36%)
HSVhsv(243, 84%, 62%)
CMYKcmyk(79.7%, 83.5%, 0%, 38%)
CIE-LABlab(21.99, 47.15, -68.35)
CIE-LCHlch(21.99, 83.04, 304.60°)
OKLaboklab(34.83% 0.0049 -0.1978)
OKLCHoklch(34.83% 0.198 271.4)
XYZxyz(7.1345, 3.5137, 32.6433)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A9E #989E1A
analogous
#1A569E #201A9E #621A9E
triadic
#201A9E #9E201A #1A9E20
tetradic
#201A9E #9E1A56 #989E1A #1A9E62
square
#201A9E #9E1A56 #989E1A #1A9E62
split-complementary
#201A9E #9E621A #569E1A
monochromatic
#0B0935 #151169 #201A9E #2B23D3 #5750E2

Accessibility & contrast

On white

12.33
#201A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#201A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A9E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A9E#FFFFFF#000000##FFFFFF
##201A9E1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201a9e;
/* rgb */ color: rgb(32, 26, 158);
/* oklch */ color: oklch(34.8% 0.198 271.4);
Tailwind
colors: {
  custom: {
    50: '#745bbc',
    500: '#201a9e',
    950: '#000000',
  },
}
SCSS
$custom: #201a9e;
$custom-light: #745bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#201a9e",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 242.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34829,
    "c": 0.19786,
    "h": 271.4
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#201A9E
secondary
#BFC54F
accent
#EE39E6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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