#203873#203873

#203873 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.106 H 264.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#203873
RGBrgb(32, 56, 115)
HSLhsl(223, 56%, 29%)
HSVhsv(223, 72%, 45%)
CMYKcmyk(72.2%, 51.3%, 0%, 54.9%)
CIE-LABlab(24.87, 12.48, -36.79)
CIE-LCHlch(24.87, 38.85, 288.73°)
OKLaboklab(35.67% -0.0095 -0.1055)
OKLCHoklch(35.67% 0.106 264.9)
XYZxyz(5.1033, 4.3727, 16.7914)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203873 #735B20
analogous
#206273 #203873 #322073
triadic
#203873 #732038 #387320
tetradic
#203873 #732062 #735B20 #207332
square
#203873 #732062 #735B20 #207332
split-complementary
#203873 #733220 #627320
monochromatic
#070C18 #132143 #203873 #2D4FA3 #436ACB

Accessibility & contrast

On white

11.20
#203873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#203873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203873
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203873#FFFFFF#000000##FFFFFF
##2038731.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#013772
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #203873;
/* rgb */ color: rgb(32, 56, 115);
/* oklch */ color: oklch(35.7% 0.106 264.9);
Tailwind
colors: {
  custom: {
    50: '#676e9c',
    500: '#203873',
    950: '#000000',
  },
}
SCSS
$custom: #203873;
$custom-light: #676e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#203873",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 222.651,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35667,
    "c": 0.10596,
    "h": 264.9
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#203873
secondary
#A78B48
accent
#B448E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203873

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

Preview Lab → · Contrast checker → · Palette generator →

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