#203A8D#203A8D

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

Color values

HEX#203A8D
RGBrgb(32, 58, 141)
HSLhsl(226, 63%, 34%)
HSVhsv(226, 77%, 55%)
CMYKcmyk(77.3%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.45, 21.44, -48.92)
CIE-LCHlch(27.45, 53.41, 293.67°)
OKLaboklab(38.26% -0.0089 -0.1412)
OKLCHoklch(38.26% 0.141 266.4)
XYZxyz(6.9148, 5.2555, 25.8441)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A8D #8D7320
analogous
#20718D #203A8D #3D208D
triadic
#203A8D #8D203A #3A8D20
tetradic
#203A8D #8D2071 #8D7320 #208D3D
square
#203A8D #8D2071 #8D7320 #208D3D
split-complementary
#203A8D #8D3D20 #718D20
monochromatic
#091129 #15255B #203A8D #2B4FBF #5070D7

Accessibility & contrast

On white

10.24
#203A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#203A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A8D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A8D#FFFFFF#000000##FFFFFF
##203A8D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203a8d;
/* rgb */ color: rgb(32, 58, 141);
/* oklch */ color: oklch(38.3% 0.141 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d6faf',
    500: '#203a8d',
    950: '#000000',
  },
}
SCSS
$custom: #203a8d;
$custom-light: #6d6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#203a8d",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 225.688,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.14145,
    "h": 266.4
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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