#202176#202176

#202176 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.141 H 274.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#202176
RGBrgb(32, 33, 118)
HSLhsl(239, 57%, 29%)
HSVhsv(239, 73%, 46%)
CMYKcmyk(72.9%, 72%, 0%, 53.7%)
CIE-LABlab(18.81, 29.60, -48.57)
CIE-LCHlch(18.81, 56.88, 301.36°)
OKLaboklab(31.24% 0.0101 -0.1404)
OKLCHoklch(31.24% 0.141 274.1)
XYZxyz(4.4084, 2.7024, 17.4253)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202176 #767520
analogous
#204C76 #202176 #4A2076
triadic
#202176 #762021 #217620
tetradic
#202176 #76204C #767520 #20764A
square
#202176 #76204C #767520 #20764A
split-complementary
#202176 #764A20 #4C7620
monochromatic
#070718 #131446 #202176 #2D2EA6 #4446CC

Accessibility & contrast

On white

13.63
#202176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202176
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202176#FFFFFF#000000##FFFFFF
##2021761.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202176;
/* rgb */ color: rgb(32, 33, 118);
/* oklch */ color: oklch(31.2% 0.141 274.1);
Tailwind
colors: {
  custom: {
    50: '#695d9e',
    500: '#202176',
    950: '#000000',
  },
}
SCSS
$custom: #202176;
$custom-light: #695d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#202176",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 239.302,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.14073,
    "h": 274.1
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#202176
secondary
#A9A848
accent
#DF47E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202176

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

Preview Lab → · Contrast checker → · Palette generator →

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