#201A9D#201A9D

#201A9D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.197 H 271.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#201A9D
RGBrgb(32, 26, 157)
HSLhsl(243, 72%, 36%)
HSVhsv(243, 83%, 62%)
CMYKcmyk(79.6%, 83.4%, 0%, 38.4%)
CIE-LABlab(21.87, 46.84, -67.94)
CIE-LCHlch(21.87, 82.52, 304.58°)
OKLaboklab(34.71% 0.0051 -0.1966)
OKLCHoklch(34.71% 0.197 271.5)
XYZxyz(7.0488, 3.4794, 32.1918)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A9D #979D1A
analogous
#1A559D #201A9D #611A9D
triadic
#201A9D #9D201A #1A9D20
tetradic
#201A9D #9D1A55 #979D1A #1A9D61
square
#201A9D #9D1A55 #979D1A #1A9D61
split-complementary
#201A9D #9D611A #559D1A
monochromatic
#0B0934 #151168 #201A9D #2B23D2 #564FE2

Accessibility & contrast

On white

12.38
#201A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A9D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A9D#FFFFFF#000000##FFFFFF
##201A9D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #201a9d;
/* rgb */ color: rgb(32, 26, 157);
/* oklch */ color: oklch(34.7% 0.197 271.5);
Tailwind
colors: {
  custom: {
    50: '#745bbb',
    500: '#201a9d',
    950: '#000000',
  },
}
SCSS
$custom: #201a9d;
$custom-light: #745bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#201a9d",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 242.748,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34707,
    "c": 0.19669,
    "h": 271.5
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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