#202173#202173

#202173 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.137 H 274.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#202173
RGBrgb(32, 33, 115)
HSLhsl(239, 56%, 29%)
HSVhsv(239, 72%, 45%)
CMYKcmyk(72.2%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.51, 28.50, -47.14)
CIE-LCHlch(18.51, 55.08, 301.16°)
OKLaboklab(30.93% 0.0105 -0.1362)
OKLCHoklch(30.93% 0.137 274.4)
XYZxyz(4.2330, 2.6322, 16.5013)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202173 #737220
analogous
#204B73 #202173 #492073
triadic
#202173 #732021 #217320
tetradic
#202173 #73204B #737220 #207349
square
#202173 #73204B #737220 #207349
split-complementary
#202173 #734920 #4B7320
monochromatic
#070718 #131343 #202173 #2D2FA3 #4344CB

Accessibility & contrast

On white

13.76
#202173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#202173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202173
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202173#FFFFFF#000000##FFFFFF
##2021731.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #202173;
/* rgb */ color: rgb(32, 33, 115);
/* oklch */ color: oklch(30.9% 0.137 274.4);
Tailwind
colors: {
  custom: {
    50: '#685d9c',
    500: '#202173',
    950: '#000000',
  },
}
SCSS
$custom: #202173;
$custom-light: #685d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#202173",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 239.277,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30932,
    "c": 0.1366,
    "h": 274.4
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#202173
secondary
#A7A548
accent
#DE48E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202173

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

Preview Lab → · Contrast checker → · Palette generator →

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