#203A8A#203A8A

#203A8A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.137 H 266.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#203A8A
RGBrgb(32, 58, 138)
HSLhsl(225, 62%, 33%)
HSVhsv(225, 77%, 54%)
CMYKcmyk(76.8%, 58%, 0%, 45.9%)
CIE-LABlab(27.21, 20.26, -47.46)
CIE-LCHlch(27.21, 51.60, 293.11°)
OKLaboklab(38% -0.009 -0.1369)
OKLCHoklch(38% 0.137 266.2)
XYZxyz(6.6946, 5.1674, 24.6844)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A8A #8A7020
analogous
#206F8A #203A8A #3B208A
triadic
#203A8A #8A203A #3A8A20
tetradic
#203A8A #8A206F #8A7020 #208A3B
square
#203A8A #8A206F #8A7020 #208A3B
split-complementary
#203A8A #8A3B20 #6F8A20
monochromatic
#091027 #142558 #203A8A #2C4FBC #4E70D6

Accessibility & contrast

On white

10.33
#203A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#203A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A8A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A8A#FFFFFF#000000##FFFFFF
##203A8A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203a8a;
/* rgb */ color: rgb(32, 58, 138);
/* oklch */ color: oklch(38.0% 0.137 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c6fad',
    500: '#203a8a',
    950: '#000000',
  },
}
SCSS
$custom: #203a8a;
$custom-light: #6c6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#203a8a",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 225.283,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37995,
    "c": 0.13718,
    "h": 266.2
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#203A8A
secondary
#B99E4D
accent
#BD42E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #203A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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