#201F78#201F78

#201F78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.146 H 274.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#201F78
RGBrgb(32, 31, 120)
HSLhsl(241, 59%, 30%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(73.3%, 74.2%, 0%, 52.9%)
CIE-LABlab(18.55, 31.61, -50.27)
CIE-LCHlch(18.55, 59.39, 302.16°)
OKLaboklab(31.12% 0.0111 -0.1453)
OKLCHoklch(31.12% 0.146 274.4)
XYZxyz(4.4747, 2.6427, 18.0399)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F78 #77781F
analogous
#1F4B78 #201F78 #4D1F78
triadic
#201F78 #78201F #1F7820
tetradic
#201F78 #781F4B #77781F #1F784D
square
#201F78 #781F4B #77781F #1F784D
split-complementary
#201F78 #784D1F #4B781F
monochromatic
#060618 #131247 #201F78 #2D2CA9 #4543CE

Accessibility & contrast

On white

13.74
#201F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#201F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F78
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F78#FFFFFF#000000##FFFFFF
##201F781.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201f78;
/* rgb */ color: rgb(32, 31, 120);
/* oklch */ color: oklch(31.1% 0.146 274.4);
Tailwind
colors: {
  custom: {
    50: '#6a5ba0',
    500: '#201f78',
    950: '#000000',
  },
}
SCSS
$custom: #201f78;
$custom-light: #6a5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#201f78",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 240.674,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31121,
    "c": 0.14577,
    "h": 274.4
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#201F78
secondary
#AAAB47
accent
#E246E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #201F78

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

Preview Lab → · Contrast checker → · Palette generator →

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