#203F9A#203F9A

#203F9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.153 H 265.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#203F9A
RGBrgb(32, 63, 154)
HSLhsl(225, 66%, 36%)
HSVhsv(225, 79%, 60%)
CMYKcmyk(79.2%, 59.1%, 0%, 39.6%)
CIE-LABlab(29.90, 23.13, -52.90)
CIE-LCHlch(29.90, 57.74, 293.62°)
OKLaboklab(40.42% -0.0119 -0.1528)
OKLCHoklch(40.42% 0.153 265.5)
XYZxyz(8.2038, 6.1942, 31.3288)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F9A #9A7B20
analogous
#207C9A #203F9A #3E209A
triadic
#203F9A #9A203F #3F9A20
tetradic
#203F9A #9A207C #9A7B20 #209A3E
square
#203F9A #9A207C #9A7B20 #209A3E
split-complementary
#203F9A #9A3E20 #7C9A20
monochromatic
#0B1635 #152A67 #203F9A #2B54CD #587ADC

Accessibility & contrast

On white

9.38
#203F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#203F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F9A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F9A#FFFFFF#000000##FFFFFF
##203F9A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203f9a;
/* rgb */ color: rgb(32, 63, 154);
/* oklch */ color: oklch(40.4% 0.153 265.5);
Tailwind
colors: {
  custom: {
    50: '#7073b9',
    500: '#203f9a',
    950: '#000000',
  },
}
SCSS
$custom: #203f9a;
$custom-light: #7073b9;
$custom-dark: #000000;
JSON
{
  "hex": "#203f9a",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 224.754,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.15326,
    "h": 265.5
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#203F9A
secondary
#C0A556
accent
#BE3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #203F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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