#201979#201979

#201979 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.153 H 275.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#201979
RGBrgb(32, 25, 121)
HSLhsl(244, 66%, 29%)
HSVhsv(244, 79%, 47%)
CMYKcmyk(73.6%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.38, 35.57, -52.85)
CIE-LCHlch(17.38, 63.71, 303.94°)
OKLaboklab(30.32% 0.0143 -0.1528)
OKLCHoklch(30.32% 0.153 275.4)
XYZxyz(4.3933, 2.3824, 18.3138)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201979 #727919
analogous
#194279 #201979 #501979
triadic
#201979 #792019 #197920
tetradic
#201979 #791942 #727919 #197950
square
#201979 #791942 #727919 #197950
split-complementary
#201979 #795019 #427919
monochromatic
#070519 #130F46 #201979 #2D23AC #4237D6

Accessibility & contrast

On white

14.22
#201979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#201979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201979
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201979#FFFFFF#000000##FFFFFF
##2019791.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201979;
/* rgb */ color: rgb(32, 25, 121);
/* oklch */ color: oklch(30.3% 0.153 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b58a1',
    500: '#201979',
    950: '#000000',
  },
}
SCSS
$custom: #201979;
$custom-light: #6b58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#201979",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 244.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30321,
    "c": 0.15349,
    "h": 275.4
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#201979
secondary
#A6AE40
accent
#E93FDC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201979

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

Preview Lab → · Contrast checker → · Palette generator →

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