#201879#201879

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

Color values

HEX#201879
RGBrgb(32, 24, 121)
HSLhsl(245, 67%, 28%)
HSVhsv(245, 80%, 47%)
CMYKcmyk(73.6%, 80.2%, 0%, 52.5%)
CIE-LABlab(17.18, 36.13, -53.18)
CIE-LCHlch(17.18, 64.29, 304.20°)
OKLaboklab(30.18% 0.0148 -0.1537)
OKLCHoklch(30.18% 0.154 275.5)
XYZxyz(4.3724, 2.3404, 18.3068)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201879 #717918
analogous
#184079 #201879 #501879
triadic
#201879 #792018 #187920
tetradic
#201879 #791840 #717918 #187950
square
#201879 #791840 #717918 #187950
split-complementary
#201879 #795018 #407918
monochromatic
#07051A #120E46 #201879 #2E22AC #4235D7

Accessibility & contrast

On white

14.30
#201879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201879
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201879#FFFFFF#000000##FFFFFF
##2018791.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201879;
/* rgb */ color: rgb(32, 24, 121);
/* oklch */ color: oklch(30.2% 0.154 275.5);
Tailwind
colors: {
  custom: {
    50: '#6b57a1',
    500: '#201879',
    950: '#000000',
  },
}
SCSS
$custom: #201879;
$custom-light: #6b57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#201879",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 244.948,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30182,
    "c": 0.15446,
    "h": 275.5
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#201879
secondary
#A5AE3F
accent
#EA3EDC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201879

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

Preview Lab → · Contrast checker → · Palette generator →

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