#203A8E#203A8E

#203A8E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.143 H 266.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#203A8E
RGBrgb(32, 58, 142)
HSLhsl(226, 63%, 34%)
HSVhsv(226, 77%, 56%)
CMYKcmyk(77.5%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.53, 21.84, -49.40)
CIE-LCHlch(27.53, 54.01, 293.85°)
OKLaboklab(38.34% -0.0088 -0.1426)
OKLCHoklch(38.34% 0.143 266.5)
XYZxyz(6.9895, 5.2854, 26.2378)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A8E #8E7420
analogous
#20718E #203A8E #3D208E
triadic
#203A8E #8E203A #3A8E20
tetradic
#203A8E #8E2071 #8E7420 #208E3D
square
#203A8E #8E2071 #8E7420 #208E3D
split-complementary
#203A8E #8E3D20 #718E20
monochromatic
#09112A #15265C #203A8E #2B4EC0 #5171D8

Accessibility & contrast

On white

10.21
#203A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#203A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A8E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A8E#FFFFFF#000000##FFFFFF
##203A8E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203a8e;
/* rgb */ color: rgb(32, 58, 142);
/* oklch */ color: oklch(38.3% 0.143 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d6fb0',
    500: '#203a8e',
    950: '#000000',
  },
}
SCSS
$custom: #203a8e;
$custom-light: #6d6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#203a8e",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 225.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38342,
    "c": 0.14286,
    "h": 266.5
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#203A8E
secondary
#BBA14F
accent
#BF42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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