#201877#201877

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

Color values

HEX#201877
RGBrgb(32, 24, 119)
HSLhsl(245, 66%, 28%)
HSVhsv(245, 80%, 47%)
CMYKcmyk(73.1%, 79.8%, 0%, 53.3%)
CIE-LABlab(16.95, 35.46, -52.28)
CIE-LCHlch(16.95, 63.16, 304.15°)
OKLaboklab(29.95% 0.0153 -0.1511)
OKLCHoklch(29.95% 0.152 275.8)
XYZxyz(4.2510, 2.2919, 17.6675)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201877 #6F7718
analogous
#183F77 #201877 #501877
triadic
#201877 #772018 #187720
tetradic
#201877 #77183F #6F7718 #187750
square
#201877 #77183F #6F7718 #187750
split-complementary
#201877 #775018 #3F7718
monochromatic
#070519 #120E44 #201877 #2E22AA #4133D6

Accessibility & contrast

On white

14.40
#201877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201877
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201877#FFFFFF#000000##FFFFFF
##2018771.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201877;
/* rgb */ color: rgb(32, 24, 119);
/* oklch */ color: oklch(30.0% 0.152 275.8);
Tailwind
colors: {
  custom: {
    50: '#6a579f',
    500: '#201877',
    950: '#000000',
  },
}
SCSS
$custom: #201877;
$custom-light: #6a579f;
$custom-dark: #000000;
JSON
{
  "hex": "#201877",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 245.053,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29952,
    "c": 0.15191,
    "h": 275.8
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#201877
secondary
#A3AC3F
accent
#E93EDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #201877

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

Preview Lab → · Contrast checker → · Palette generator →

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