#201978#201978

#201978 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.152 H 275.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#201978
RGBrgb(32, 25, 120)
HSLhsl(244, 66%, 28%)
HSVhsv(244, 79%, 47%)
CMYKcmyk(73.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(17.26, 35.23, -52.40)
CIE-LCHlch(17.26, 63.14, 303.91°)
OKLaboklab(30.21% 0.0146 -0.1515)
OKLCHoklch(30.21% 0.152 275.5)
XYZxyz(4.3323, 2.3580, 17.9925)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201978 #717819
analogous
#194178 #201978 #4F1978
triadic
#201978 #782019 #197820
tetradic
#201978 #781941 #717819 #19784F
square
#201978 #781941 #717819 #19784F
split-complementary
#201978 #784F19 #417819
monochromatic
#070519 #120E45 #201978 #2E24AB #4236D5

Accessibility & contrast

On white

14.27
#201978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#201978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201978
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201978#FFFFFF#000000##FFFFFF
##2019781.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201978;
/* rgb */ color: rgb(32, 25, 120);
/* oklch */ color: oklch(30.2% 0.152 275.5);
Tailwind
colors: {
  custom: {
    50: '#6b58a0',
    500: '#201978',
    950: '#000000',
  },
}
SCSS
$custom: #201978;
$custom-light: #6b58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#201978",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 244.421,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.1522,
    "h": 275.5
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#201978
secondary
#A5AD40
accent
#E83FDC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201978

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

Preview Lab → · Contrast checker → · Palette generator →

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