#201A7D#201A7D

#201A7D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.158 H 274.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#201A7D
RGBrgb(32, 26, 125)
HSLhsl(244, 66%, 30%)
HSVhsv(244, 79%, 49%)
CMYKcmyk(74.4%, 79.2%, 0%, 51%)
CIE-LABlab(18.04, 36.36, -54.32)
CIE-LCHlch(18.04, 65.37, 303.80°)
OKLaboklab(30.92% 0.0129 -0.1571)
OKLCHoklch(30.92% 0.158 274.7)
XYZxyz(4.6655, 2.5261, 19.6398)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A7D #777D1A
analogous
#1A467D #201A7D #511A7D
triadic
#201A7D #7D201A #1A7D20
tetradic
#201A7D #7D1A46 #777D1A #1A7D51
square
#201A7D #7D1A46 #777D1A #1A7D51
split-complementary
#201A7D #7D511A #467D1A
monochromatic
#060519 #130F4A #201A7D #2D25B0 #453BD6

Accessibility & contrast

On white

13.95
#201A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A7D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A7D#FFFFFF#000000##FFFFFF
##201A7D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201a7d;
/* rgb */ color: rgb(32, 26, 125);
/* oklch */ color: oklch(30.9% 0.158 274.7);
Tailwind
colors: {
  custom: {
    50: '#6c59a4',
    500: '#201a7d',
    950: '#000000',
  },
}
SCSS
$custom: #201a7d;
$custom-light: #6c59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#201a7d",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 243.636,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30919,
    "c": 0.15763,
    "h": 274.7
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#201A7D
secondary
#AAB142
accent
#E93FDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #201A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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