#201A78#201A78

#201A78 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.151 H 275.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#201A78
RGBrgb(32, 26, 120)
HSLhsl(244, 64%, 29%)
HSVhsv(244, 78%, 47%)
CMYKcmyk(73.3%, 78.3%, 0%, 52.9%)
CIE-LABlab(17.47, 34.65, -52.06)
CIE-LCHlch(17.47, 62.54, 303.65°)
OKLaboklab(30.35% 0.014 -0.1505)
OKLCHoklch(30.35% 0.151 275.3)
XYZxyz(4.3541, 2.4015, 17.9997)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A78 #72781A
analogous
#1A4378 #201A78 #4F1A78
triadic
#201A78 #78201A #1A7820
tetradic
#201A78 #781A43 #72781A #1A784F
square
#201A78 #781A43 #72781A #1A784F
split-complementary
#201A78 #784F1A #43781A
monochromatic
#070519 #130F46 #201A78 #2D25AA #4238D4

Accessibility & contrast

On white

14.19
#201A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#201A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A78
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A78#FFFFFF#000000##FFFFFF
##201A781.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002776
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201a78;
/* rgb */ color: rgb(32, 26, 120);
/* oklch */ color: oklch(30.3% 0.151 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a58a0',
    500: '#201a78',
    950: '#000000',
  },
}
SCSS
$custom: #201a78;
$custom-light: #6a58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#201a78",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 243.83,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3035,
    "c": 0.15118,
    "h": 275.3
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#201A78
secondary
#A6AC41
accent
#E740DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201A78

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

Preview Lab → · Contrast checker → · Palette generator →

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