#203F9B#203F9B

#203F9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.155 H 265.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#203F9B
RGBrgb(32, 63, 155)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 79%, 61%)
CMYKcmyk(79.4%, 59.4%, 0%, 39.2%)
CIE-LABlab(29.98, 23.53, -53.38)
CIE-LCHlch(29.98, 58.33, 293.79°)
OKLaboklab(40.51% -0.0119 -0.1542)
OKLCHoklch(40.51% 0.155 265.6)
XYZxyz(8.2875, 6.2277, 31.7693)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F9B #9B7C20
analogous
#207D9B #203F9B #3F209B
triadic
#203F9B #9B203F #3F9B20
tetradic
#203F9B #9B207D #9B7C20 #209B3F
square
#203F9B #9B207D #9B7C20 #209B3F
split-complementary
#203F9B #9B3F20 #7D9B20
monochromatic
#0B1636 #162A68 #203F9B #2A54CE #597ADD

Accessibility & contrast

On white

9.35
#203F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#203F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F9B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F9B#FFFFFF#000000##FFFFFF
##203F9B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203f9b;
/* rgb */ color: rgb(32, 63, 155);
/* oklch */ color: oklch(40.5% 0.155 265.6);
Tailwind
colors: {
  custom: {
    50: '#7073b9',
    500: '#203f9b',
    950: '#000000',
  },
}
SCSS
$custom: #203f9b;
$custom-light: #7073b9;
$custom-dark: #000000;
JSON
{
  "hex": "#203f9b",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 224.878,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.15465,
    "h": 265.6
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#203F9B
secondary
#C1A656
accent
#BE3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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