#201976#201976

#201976 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.150 H 275.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#201976
RGBrgb(32, 25, 118)
HSLhsl(245, 65%, 28%)
HSVhsv(245, 79%, 46%)
CMYKcmyk(72.9%, 78.8%, 0%, 53.7%)
CIE-LABlab(17.04, 34.54, -51.49)
CIE-LCHlch(17.04, 62.00, 303.86°)
OKLaboklab(29.98% 0.0151 -0.1488)
OKLCHoklch(29.98% 0.15 275.8)
XYZxyz(4.2122, 2.3099, 17.3599)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201976 #6F7619
analogous
#194076 #201976 #4E1976
triadic
#201976 #762019 #197620
tetradic
#201976 #761940 #6F7619 #19764E
square
#201976 #761940 #6F7619 #19764E
split-complementary
#201976 #764E19 #407619
monochromatic
#070519 #120E43 #201976 #2E24A8 #4135D4

Accessibility & contrast

On white

14.36
#201976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201976
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201976#FFFFFF#000000##FFFFFF
##2019761.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201976;
/* rgb */ color: rgb(32, 25, 118);
/* oklch */ color: oklch(30.0% 0.150 275.8);
Tailwind
colors: {
  custom: {
    50: '#6a579f',
    500: '#201976',
    950: '#000000',
  },
}
SCSS
$custom: #201976;
$custom-light: #6a579f;
$custom-dark: #000000;
JSON
{
  "hex": "#201976",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 244.516,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29979,
    "c": 0.14961,
    "h": 275.8
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#201976
secondary
#A3AB40
accent
#E840DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #201976

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

Preview Lab → · Contrast checker → · Palette generator →

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