#203173#203173

#203173 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.116 H 268.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#203173
RGBrgb(32, 49, 115)
HSLhsl(228, 56%, 29%)
HSVhsv(228, 72%, 45%)
CMYKcmyk(72.2%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.80, 17.43, -40.14)
CIE-LCHlch(22.80, 43.76, 293.47°)
OKLaboklab(34.1% -0.0027 -0.1155)
OKLCHoklch(34.1% 0.116 268.6)
XYZxyz(4.7874, 3.7410, 16.6861)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203173 #736220
analogous
#205B73 #203173 #392073
triadic
#203173 #732031 #317320
tetradic
#203173 #73205B #736220 #207339
square
#203173 #73205B #736220 #207339
split-complementary
#203173 #733920 #5B7320
monochromatic
#070A18 #131D43 #203173 #2D45A3 #435FCB

Accessibility & contrast

On white

12.01
#203173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#203173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203173
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203173#FFFFFF#000000##FFFFFF
##2031731.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #203173;
/* rgb */ color: rgb(32, 49, 115);
/* oklch */ color: oklch(34.1% 0.116 268.6);
Tailwind
colors: {
  custom: {
    50: '#67689c',
    500: '#203173',
    950: '#000000',
  },
}
SCSS
$custom: #203173;
$custom-light: #67689c;
$custom-dark: #000000;
JSON
{
  "hex": "#203173",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 227.711,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34098,
    "c": 0.11553,
    "h": 268.6
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#203173
secondary
#A79348
accent
#C148E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203173

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

Preview Lab → · Contrast checker → · Palette generator →

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