#202873#202873

#202873 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.128 H 272.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#202873
RGBrgb(32, 40, 115)
HSLhsl(234, 56%, 29%)
HSVhsv(234, 72%, 45%)
CMYKcmyk(72.2%, 65.2%, 0%, 54.9%)
CIE-LABlab(20.29, 23.76, -44.22)
CIE-LCHlch(20.29, 50.19, 298.25°)
OKLaboklab(32.23% 0.0051 -0.1276)
OKLCHoklch(32.23% 0.128 272.3)
XYZxyz(4.4479, 3.0620, 16.5730)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202873 #736B20
analogous
#205273 #202873 #422073
triadic
#202873 #732028 #287320
tetradic
#202873 #732052 #736B20 #207342
square
#202873 #732052 #736B20 #207342
split-complementary
#202873 #734220 #527320
monochromatic
#070818 #131743 #202873 #2D39A3 #4350CB

Accessibility & contrast

On white

13.02
#202873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#202873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202873
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202873#FFFFFF#000000##FFFFFF
##2028731.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202873;
/* rgb */ color: rgb(32, 40, 115);
/* oklch */ color: oklch(32.2% 0.128 272.3);
Tailwind
colors: {
  custom: {
    50: '#68629c',
    500: '#202873',
    950: '#000000',
  },
}
SCSS
$custom: #202873;
$custom-light: #68629c;
$custom-dark: #000000;
JSON
{
  "hex": "#202873",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 234.217,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.12769,
    "h": 272.3
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#202873
secondary
#A79D48
accent
#D148E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202873

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

Preview Lab → · Contrast checker → · Palette generator →

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