#203A8F#203A8F

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

Color values

HEX#203A8F
RGBrgb(32, 58, 143)
HSLhsl(226, 63%, 34%)
HSVhsv(226, 78%, 56%)
CMYKcmyk(77.6%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.62, 22.23, -49.88)
CIE-LCHlch(27.62, 54.61, 294.02°)
OKLaboklab(38.43% -0.0088 -0.144)
OKLCHoklch(38.43% 0.144 266.5)
XYZxyz(7.0649, 5.3156, 26.6349)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203A8F #8F7520
analogous
#20728F #203A8F #3E208F
triadic
#203A8F #8F203A #3A8F20
tetradic
#203A8F #8F2072 #8F7520 #208F3E
square
#203A8F #8F2072 #8F7520 #208F3E
split-complementary
#203A8F #8F3E20 #728F20
monochromatic
#0A112B #15265D #203A8F #2B4EC1 #5171D8

Accessibility & contrast

On white

10.18
#203A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203A8F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203A8F#FFFFFF#000000##FFFFFF
##203A8F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203a8f;
/* rgb */ color: rgb(32, 58, 143);
/* oklch */ color: oklch(38.4% 0.144 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d6fb1',
    500: '#203a8f',
    950: '#000000',
  },
}
SCSS
$custom: #203a8f;
$custom-light: #6d6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#203a8f",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 225.946,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.14427,
    "h": 266.5
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#203A8F
secondary
#BBA24F
accent
#C041E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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