#201A8F#201A8F

#201A8F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.180 H 272.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#201A8F
RGBrgb(32, 26, 143)
HSLhsl(243, 69%, 33%)
HSVhsv(243, 82%, 56%)
CMYKcmyk(77.6%, 81.8%, 0%, 43.9%)
CIE-LABlab(20.16, 42.36, -62.14)
CIE-LCHlch(20.16, 75.21, 304.28°)
OKLaboklab(33.03% 0.0085 -0.1798)
OKLCHoklch(33.03% 0.18 272.7)
XYZxyz(5.9213, 3.0284, 26.2537)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A8F #898F1A
analogous
#1A4E8F #201A8F #5A1A8F
triadic
#201A8F #8F201A #1A8F20
tetradic
#201A8F #8F1A4E #898F1A #1A8F5A
square
#201A8F #8F1A4E #898F1A #1A8F5A
split-complementary
#201A8F #8F5A1A #4E8F1A
monochromatic
#090727 #14115B #201A8F #2C23C3 #4E46DD

Accessibility & contrast

On white

13.08
#201A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#201A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A8F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A8F#FFFFFF#000000##FFFFFF
##201A8F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201a8f;
/* rgb */ color: rgb(32, 26, 143);
/* oklch */ color: oklch(33.0% 0.180 272.7);
Tailwind
colors: {
  custom: {
    50: '#705ab1',
    500: '#201a8f',
    950: '#000000',
  },
}
SCSS
$custom: #201a8f;
$custom-light: #705ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#201a8f",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 243.077,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33025,
    "c": 0.18001,
    "h": 272.7
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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