#203F99#203F99

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

Color values

HEX#203F99
RGBrgb(32, 63, 153)
HSLhsl(225, 65%, 36%)
HSVhsv(225, 79%, 60%)
CMYKcmyk(79.1%, 58.8%, 0%, 40%)
CIE-LABlab(29.82, 22.74, -52.43)
CIE-LCHlch(29.82, 57.15, 293.45°)
OKLaboklab(40.34% -0.012 -0.1514)
OKLCHoklch(40.34% 0.152 265.5)
XYZxyz(8.1209, 6.1611, 30.8920)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F99 #997A20
analogous
#207C99 #203F99 #3E2099
triadic
#203F99 #99203F #3F9920
tetradic
#203F99 #99207C #997A20 #20993E
square
#203F99 #99207C #997A20 #20993E
split-complementary
#203F99 #993E20 #7C9920
monochromatic
#0B1534 #152A66 #203F99 #2B54CC #5779DC

Accessibility & contrast

On white

9.41
#203F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#203F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F99
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F99#FFFFFF#000000##FFFFFF
##203F991.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203f99;
/* rgb */ color: rgb(32, 63, 153);
/* oklch */ color: oklch(40.3% 0.152 265.5);
Tailwind
colors: {
  custom: {
    50: '#7073b8',
    500: '#203f99',
    950: '#000000',
  },
}
SCSS
$custom: #203f99;
$custom-light: #7073b8;
$custom-dark: #000000;
JSON
{
  "hex": "#203f99",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 224.628,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.15187,
    "h": 265.5
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#203F99
secondary
#C0A455
accent
#BD3FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #203F99

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

Preview Lab → · Contrast checker → · Palette generator →

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