#203A9F#203A9F

#203A9F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.166 H 267.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#203A9F
RGBrgb(32, 58, 159)
HSLhsl(228, 66%, 37%)
HSVhsv(228, 80%, 62%)
CMYKcmyk(79.9%, 63.5%, 0%, 37.6%)
CIE-LABlab(28.99, 28.46, -57.42)
CIE-LCHlch(28.99, 64.08, 296.37°)
OKLaboklab(39.88% -0.0086 -0.1661)
OKLCHoklch(39.88% 0.166 267)
XYZxyz(8.3645, 5.8354, 33.4797)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A9F #9F8520
analogous
#20799F #203A9F #46209F
triadic
#203A9F #9F203A #3A9F20
tetradic
#203A9F #9F2079 #9F8520 #209F46
square
#203A9F #9F2079 #9F8520 #209F46
split-complementary
#203A9F #9F4620 #799F20
monochromatic
#0B1539 #16276C #203A9F #2A4DD2 #5B76DE

Accessibility & contrast

On white

9.69
#203A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#203A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203A9F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A9F#FFFFFF#000000##FFFFFF
##203A9F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203a9f;
/* rgb */ color: rgb(32, 58, 159);
/* oklch */ color: oklch(39.9% 0.166 267.0);
Tailwind
colors: {
  custom: {
    50: '#7170bc',
    500: '#203a9f',
    950: '#000000',
  },
}
SCSS
$custom: #203a9f;
$custom-light: #7170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203a9f",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 227.717,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.16633,
    "h": 267
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#203A9F
secondary
#C2AD59
accent
#C63EE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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