#201A8C#201A8C

#201A8C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.176 H 273.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#201A8C
RGBrgb(32, 26, 140)
HSLhsl(243, 69%, 33%)
HSVhsv(243, 81%, 55%)
CMYKcmyk(77.1%, 81.4%, 0%, 45.1%)
CIE-LABlab(19.80, 41.38, -60.87)
CIE-LCHlch(19.80, 73.60, 304.21°)
OKLaboklab(32.67% 0.0093 -0.1761)
OKLCHoklch(32.67% 0.176 273)
XYZxyz(5.6971, 2.9387, 25.0728)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A8C #868C1A
analogous
#1A4D8C #201A8C #591A8C
triadic
#201A8C #8C201A #1A8C20
tetradic
#201A8C #8C1A4D #868C1A #1A8C59
square
#201A8C #8C1A4D #868C1A #1A8C59
split-complementary
#201A8C #8C591A #4D8C1A
monochromatic
#080725 #141058 #201A8C #2C24C0 #4C44DC

Accessibility & contrast

On white

13.23
#201A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#201A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A8C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A8C#FFFFFF#000000##FFFFFF
##201A8C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #201a8c;
/* rgb */ color: rgb(32, 26, 140);
/* oklch */ color: oklch(32.7% 0.176 273.0);
Tailwind
colors: {
  custom: {
    50: '#705aaf',
    500: '#201a8c',
    950: '#000000',
  },
}
SCSS
$custom: #201a8c;
$custom-light: #705aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#201a8c",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 243.158,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32669,
    "c": 0.17636,
    "h": 273
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#201A8C
secondary
#B7BE44
accent
#EC3CE2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #201A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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