#201176#201176

#201176 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.0% C 0.157 H 276.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#201176
RGBrgb(32, 17, 118)
HSLhsl(249, 75%, 26%)
HSVhsv(249, 86%, 46%)
CMYKcmyk(72.9%, 85.6%, 0%, 53.7%)
CIE-LABlab(15.57, 38.78, -53.92)
CIE-LCHlch(15.57, 66.42, 305.73°)
OKLaboklab(28.96% 0.0189 -0.1558)
OKLCHoklch(28.96% 0.157 276.9)
XYZxyz(4.0651, 2.0156, 17.3108)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201176 #677611
analogous
#113576 #201176 #531176
triadic
#201176 #762011 #117620
tetradic
#201176 #761135 #677611 #117653
square
#201176 #761135 #677611 #117653
split-complementary
#201176 #765311 #357611
monochromatic
#07041B #110941 #201176 #2F19AB #3E22DF

Accessibility & contrast

On white

14.97
#201176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#201176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201176
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201176#FFFFFF#000000##FFFFFF
##2011761.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201176;
/* rgb */ color: rgb(32, 17, 118);
/* oklch */ color: oklch(29.0% 0.157 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b539f',
    500: '#201176',
    950: '#000000',
  },
}
SCSS
$custom: #201176;
$custom-light: #6b539f;
$custom-dark: #000000;
JSON
{
  "hex": "#201176",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 248.911,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28956,
    "c": 0.15694,
    "h": 276.9
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#201176
secondary
#9BAD36
accent
#F136D6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #201176

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

Preview Lab → · Contrast checker → · Palette generator →

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