#203A71#203A71

#203A71 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.100 H 263.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#203A71
RGBrgb(32, 58, 113)
HSLhsl(221, 56%, 28%)
HSVhsv(221, 72%, 44%)
CMYKcmyk(71.7%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.34, 10.27, -34.76)
CIE-LCHlch(25.34, 36.25, 286.46°)
OKLaboklab(35.98% -0.0118 -0.0995)
OKLCHoklch(35.98% 0.1 263.2)
XYZxyz(5.0883, 4.5249, 16.2248)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A71 #715720
analogous
#206271 #203A71 #2E2071
triadic
#203A71 #71203A #3A7120
tetradic
#203A71 #712062 #715720 #20712E
square
#203A71 #712062 #715720 #20712E
split-complementary
#203A71 #712E20 #627120
monochromatic
#070C18 #122241 #203A71 #2E52A1 #426DC9

Accessibility & contrast

On white

11.02
#203A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#203A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A71
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A71#FFFFFF#000000##FFFFFF
##203A711.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #203a71;
/* rgb */ color: rgb(32, 58, 113);
/* oklch */ color: oklch(36.0% 0.100 263.2);
Tailwind
colors: {
  custom: {
    50: '#666f9a',
    500: '#203a71',
    950: '#000000',
  },
}
SCSS
$custom: #203a71;
$custom-light: #666f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#203a71",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 220.741,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35981,
    "c": 0.10023,
    "h": 263.2
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#203A71
secondary
#A58748
accent
#AF49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #203A71

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

Preview Lab → · Contrast checker → · Palette generator →

#203A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva