#203A8B#203A8B

#203A8B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.139 H 266.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#203A8B
RGBrgb(32, 58, 139)
HSLhsl(225, 63%, 34%)
HSVhsv(225, 77%, 55%)
CMYKcmyk(77%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.29, 20.65, -47.94)
CIE-LCHlch(27.29, 52.20, 293.30°)
OKLaboklab(38.08% -0.009 -0.1383)
OKLCHoklch(38.08% 0.139 266.3)
XYZxyz(6.7673, 5.1965, 25.0675)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A8B #8B7120
analogous
#206F8B #203A8B #3C208B
triadic
#203A8B #8B203A #3A8B20
tetradic
#203A8B #8B206F #8B7120 #208B3C
square
#203A8B #8B206F #8B7120 #208B3C
split-complementary
#203A8B #8B3C20 #6F8B20
monochromatic
#091028 #152559 #203A8B #2B4FBD #4F70D6

Accessibility & contrast

On white

10.30
#203A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#203A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A8B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A8B#FFFFFF#000000##FFFFFF
##203A8B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203a8b;
/* rgb */ color: rgb(32, 58, 139);
/* oklch */ color: oklch(38.1% 0.139 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6fae',
    500: '#203a8b',
    950: '#000000',
  },
}
SCSS
$custom: #203a8b;
$custom-light: #6c6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#203a8b",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 225.421,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.1386,
    "h": 266.3
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#203A8B
secondary
#BA9F4D
accent
#BE42E6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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