#203172#203172

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

Color values

HEX#203172
RGBrgb(32, 49, 114)
HSLhsl(228, 56%, 29%)
HSVhsv(228, 72%, 45%)
CMYKcmyk(71.9%, 57%, 0%, 55.3%)
CIE-LABlab(22.72, 17.03, -39.63)
CIE-LCHlch(22.72, 43.13, 293.26°)
OKLaboklab(34.01% -0.0028 -0.114)
OKLCHoklch(34.01% 0.114 268.6)
XYZxyz(4.7302, 3.7181, 16.3847)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203172 #726120
analogous
#205A72 #203172 #382072
triadic
#203172 #722031 #317220
tetradic
#203172 #72205A #726120 #207238
square
#203172 #72205A #726120 #207238
split-complementary
#203172 #723820 #5A7220
monochromatic
#070A18 #131C42 #203172 #2D46A2 #425ECA

Accessibility & contrast

On white

12.04
#203172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#203172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203172
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203172#FFFFFF#000000##FFFFFF
##2031721.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #203172;
/* rgb */ color: rgb(32, 49, 114);
/* oklch */ color: oklch(34.0% 0.114 268.6);
Tailwind
colors: {
  custom: {
    50: '#67689b',
    500: '#203172',
    950: '#000000',
  },
}
SCSS
$custom: #203172;
$custom-light: #67689b;
$custom-dark: #000000;
JSON
{
  "hex": "#203172",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 227.561,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34013,
    "c": 0.11402,
    "h": 268.6
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#203172
secondary
#A69248
accent
#C048DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203172

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

Preview Lab → · Contrast checker → · Palette generator →

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