#201B78#201B78

#201B78 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.150 H 275.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#201B78
RGBrgb(32, 27, 120)
HSLhsl(243, 63%, 29%)
HSVhsv(243, 78%, 47%)
CMYKcmyk(73.3%, 77.5%, 0%, 52.9%)
CIE-LABlab(17.68, 34.06, -51.72)
CIE-LCHlch(17.68, 61.93, 303.37°)
OKLaboklab(30.5% 0.0135 -0.1495)
OKLCHoklch(30.5% 0.15 275.2)
XYZxyz(4.3766, 2.4466, 18.0072)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B78 #73781B
analogous
#1B4578 #201B78 #4F1B78
triadic
#201B78 #78201B #1B7820
tetradic
#201B78 #781B45 #73781B #1B784F
square
#201B78 #781B45 #73781B #1B784F
split-complementary
#201B78 #784F1B #45781B
monochromatic
#070619 #131046 #201B78 #2D26AA #433BD3

Accessibility & contrast

On white

14.10
#201B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#201B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B78
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B78#FFFFFF#000000##FFFFFF
##201B781.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201b78;
/* rgb */ color: rgb(32, 27, 120);
/* oklch */ color: oklch(30.5% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a59a0',
    500: '#201b78',
    950: '#000000',
  },
}
SCSS
$custom: #201b78;
$custom-light: #6a59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#201b78",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 243.226,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.15015,
    "h": 275.2
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#201B78
secondary
#A7AC43
accent
#E641DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201B78

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

Preview Lab → · Contrast checker → · Palette generator →

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