#202178#202178

#202178 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.143 H 273.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#202178
RGBrgb(32, 33, 120)
HSLhsl(239, 58%, 30%)
HSVhsv(239, 73%, 47%)
CMYKcmyk(73.3%, 72.5%, 0%, 52.9%)
CIE-LABlab(19.02, 30.34, -49.51)
CIE-LCHlch(19.02, 58.07, 301.50°)
OKLaboklab(31.45% 0.0098 -0.1431)
OKLCHoklch(31.45% 0.143 273.9)
XYZxyz(4.5286, 2.7504, 18.0579)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202178 #787720
analogous
#204D78 #202178 #4B2078
triadic
#202178 #782021 #217820
tetradic
#202178 #78204D #787720 #20784B
square
#202178 #78204D #787720 #20784B
split-complementary
#202178 #784B20 #4D7820
monochromatic
#060718 #131448 #202178 #2D2EA8 #4547CD

Accessibility & contrast

On white

13.55
#202178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202178
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202178#FFFFFF#000000##FFFFFF
##2021781.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202178;
/* rgb */ color: rgb(32, 33, 120);
/* oklch */ color: oklch(31.5% 0.143 273.9);
Tailwind
colors: {
  custom: {
    50: '#6a5da0',
    500: '#202178',
    950: '#000000',
  },
}
SCSS
$custom: #202178;
$custom-light: #6a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#202178",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 239.318,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31453,
    "c": 0.14347,
    "h": 273.9
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202178

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

Preview Lab → · Contrast checker → · Palette generator →

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