#203972#203972

#203972 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.103 H 264.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#203972
RGBrgb(32, 57, 114)
HSLhsl(222, 56%, 29%)
HSVhsv(222, 72%, 45%)
CMYKcmyk(71.9%, 50%, 0%, 55.3%)
CIE-LABlab(25.10, 11.37, -35.78)
CIE-LCHlch(25.10, 37.54, 287.63°)
OKLaboklab(35.82% -0.0106 -0.1025)
OKLCHoklch(35.82% 0.103 264.1)
XYZxyz(5.0950, 4.4477, 16.5063)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203972 #725920
analogous
#206272 #203972 #302072
triadic
#203972 #722039 #397220
tetradic
#203972 #722062 #725920 #207230
square
#203972 #722062 #725920 #207230
split-complementary
#203972 #723020 #627220
monochromatic
#070C18 #132142 #203972 #2D51A2 #426CCA

Accessibility & contrast

On white

11.11
#203972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#203972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203972
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203972#FFFFFF#000000##FFFFFF
##2039721.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4074
Deuteranopia (green-blind)
#073871
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #203972;
/* rgb */ color: rgb(32, 57, 114);
/* oklch */ color: oklch(35.8% 0.103 264.1);
Tailwind
colors: {
  custom: {
    50: '#666e9b',
    500: '#203972',
    950: '#000000',
  },
}
SCSS
$custom: #203972;
$custom-light: #666e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#203972",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 221.707,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.10309,
    "h": 264.1
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#203972
secondary
#A68948
accent
#B148DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203972

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

Preview Lab → · Contrast checker → · Palette generator →

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