#202177#202177

#202177 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.142 H 274.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#202177
RGBrgb(32, 33, 119)
HSLhsl(239, 58%, 30%)
HSVhsv(239, 73%, 47%)
CMYKcmyk(73.1%, 72.3%, 0%, 53.3%)
CIE-LABlab(18.91, 29.97, -49.04)
CIE-LCHlch(18.91, 57.47, 301.43°)
OKLaboklab(31.35% 0.01 -0.1417)
OKLCHoklch(31.35% 0.142 274)
XYZxyz(4.4682, 2.7263, 17.7399)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202177 #777620
analogous
#204D77 #202177 #4A2077
triadic
#202177 #772021 #217720
tetradic
#202177 #77204D #777620 #20774A
square
#202177 #77204D #777620 #20774A
split-complementary
#202177 #774A20 #4D7720
monochromatic
#060718 #131447 #202177 #2D2EA7 #4546CD

Accessibility & contrast

On white

13.59
#202177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#202177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202177
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202177#FFFFFF#000000##FFFFFF
##2021771.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202177;
/* rgb */ color: rgb(32, 33, 119);
/* oklch */ color: oklch(31.3% 0.142 274.0);
Tailwind
colors: {
  custom: {
    50: '#695d9f',
    500: '#202177',
    950: '#000000',
  },
}
SCSS
$custom: #202177;
$custom-light: #695d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#202177",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 239.31,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31348,
    "c": 0.1421,
    "h": 274
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#202177
secondary
#AAA948
accent
#DF47E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #202177

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

Preview Lab → · Contrast checker → · Palette generator →

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