#201878#201878

#201878 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.153 H 275.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#201878
RGBrgb(32, 24, 120)
HSLhsl(245, 67%, 28%)
HSVhsv(245, 80%, 47%)
CMYKcmyk(73.3%, 80%, 0%, 52.9%)
CIE-LABlab(17.07, 35.79, -52.73)
CIE-LCHlch(17.07, 63.73, 304.17°)
OKLaboklab(30.07% 0.0151 -0.1524)
OKLCHoklch(30.07% 0.153 275.7)
XYZxyz(4.3113, 2.3160, 17.9855)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201878 #707818
analogous
#184078 #201878 #501878
triadic
#201878 #782018 #187820
tetradic
#201878 #781840 #707818 #187850
square
#201878 #781840 #707818 #187850
split-complementary
#201878 #785018 #407818
monochromatic
#07051A #120E45 #201878 #2E22AB #4234D6

Accessibility & contrast

On white

14.35
#201878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#201878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201878
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201878#FFFFFF#000000##FFFFFF
##2018781.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201878;
/* rgb */ color: rgb(32, 24, 120);
/* oklch */ color: oklch(30.1% 0.153 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b57a0',
    500: '#201878',
    950: '#000000',
  },
}
SCSS
$custom: #201878;
$custom-light: #6b57a0;
$custom-dark: #000000;
JSON
{
  "hex": "#201878",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 245,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30067,
    "c": 0.15319,
    "h": 275.7
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#201878
secondary
#A4AD3F
accent
#EA3EDB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201878

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

Preview Lab → · Contrast checker → · Palette generator →

#201878 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva