#201E78#201E78

#201E78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.147 H 274.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#201E78
RGBrgb(32, 30, 120)
HSLhsl(241, 60%, 29%)
HSVhsv(241, 75%, 47%)
CMYKcmyk(73.3%, 75%, 0%, 52.9%)
CIE-LABlab(18.33, 32.24, -50.65)
CIE-LCHlch(18.33, 60.03, 302.48°)
OKLaboklab(30.96% 0.0117 -0.1464)
OKLCHoklch(30.96% 0.147 274.6)
XYZxyz(4.4490, 2.5913, 18.0314)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E78 #76781E
analogous
#1E4978 #201E78 #4D1E78
triadic
#201E78 #78201E #1E7820
tetradic
#201E78 #781E49 #76781E #1E784D
square
#201E78 #781E49 #76781E #1E784D
split-complementary
#201E78 #784D1E #49781E
monochromatic
#070618 #131247 #201E78 #2D2AA9 #4441CF

Accessibility & contrast

On white

13.83
#201E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E78
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E78#FFFFFF#000000##FFFFFF
##201E781.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201e78;
/* rgb */ color: rgb(32, 30, 120);
/* oklch */ color: oklch(31.0% 0.147 274.6);
Tailwind
colors: {
  custom: {
    50: '#6a5ba0',
    500: '#201e78',
    950: '#000000',
  },
}
SCSS
$custom: #201e78;
$custom-light: #6a5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#201e78",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 241.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3096,
    "c": 0.1469,
    "h": 274.6
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#201E78
secondary
#A9AC46
accent
#E345E0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #201E78

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

Preview Lab → · Contrast checker → · Palette generator →

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