#202179#202179

#202179 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.145 H 273.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#202179
RGBrgb(32, 33, 121)
HSLhsl(239, 58%, 30%)
HSVhsv(239, 74%, 47%)
CMYKcmyk(73.6%, 72.7%, 0%, 52.5%)
CIE-LABlab(19.12, 30.70, -49.98)
CIE-LCHlch(19.12, 58.66, 301.56°)
OKLaboklab(31.56% 0.0097 -0.1445)
OKLCHoklch(31.56% 0.145 273.8)
XYZxyz(4.5896, 2.7748, 18.3792)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202179 #797820
analogous
#204D79 #202179 #4C2079
triadic
#202179 #792021 #217920
tetradic
#202179 #79204D #797820 #20794C
square
#202179 #79204D #797820 #20794C
split-complementary
#202179 #794C20 #4D7920
monochromatic
#060718 #131449 #202179 #2D2EA9 #4547CE

Accessibility & contrast

On white

13.50
#202179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#202179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202179
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202179#FFFFFF#000000##FFFFFF
##2021791.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202179;
/* rgb */ color: rgb(32, 33, 121);
/* oklch */ color: oklch(31.6% 0.145 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a5da1',
    500: '#202179',
    950: '#000000',
  },
}
SCSS
$custom: #202179;
$custom-light: #6a5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#202179",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 239.326,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.31559,
    "c": 0.14482,
    "h": 273.8
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#202179
secondary
#ACAB49
accent
#E046E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #202179

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

Preview Lab → · Contrast checker → · Palette generator →

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