#201876#201876

#201876 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.151 H 275.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#201876
RGBrgb(32, 24, 118)
HSLhsl(245, 66%, 28%)
HSVhsv(245, 80%, 46%)
CMYKcmyk(72.9%, 79.7%, 0%, 53.7%)
CIE-LABlab(16.84, 35.12, -51.82)
CIE-LCHlch(16.84, 62.60, 304.12°)
OKLaboklab(29.84% 0.0156 -0.1498)
OKLCHoklch(29.84% 0.151 275.9)
XYZxyz(4.1912, 2.2680, 17.3529)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201876 #6E7618
analogous
#183F76 #201876 #4F1876
triadic
#201876 #762018 #187620
tetradic
#201876 #76183F #6E7618 #18764F
square
#201876 #76183F #6E7618 #18764F
split-complementary
#201876 #764F18 #3F7618
monochromatic
#070519 #120E43 #201876 #2E22A9 #4133D5

Accessibility & contrast

On white

14.45
#201876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#201876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201876
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201876#FFFFFF#000000##FFFFFF
##2018761.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201876;
/* rgb */ color: rgb(32, 24, 118);
/* oklch */ color: oklch(29.8% 0.151 275.9);
Tailwind
colors: {
  custom: {
    50: '#6a579f',
    500: '#201876',
    950: '#000000',
  },
}
SCSS
$custom: #201876;
$custom-light: #6a579f;
$custom-dark: #000000;
JSON
{
  "hex": "#201876",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 245.106,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29837,
    "c": 0.15062,
    "h": 275.9
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#201876
secondary
#A2AB3F
accent
#E93FDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #201876

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

Preview Lab → · Contrast checker → · Palette generator →

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