#203B9F#203B9F

#203B9F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.165 H 266.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#203B9F
RGBrgb(32, 59, 159)
HSLhsl(227, 66%, 37%)
HSVhsv(227, 80%, 62%)
CMYKcmyk(79.9%, 62.9%, 0%, 37.6%)
CIE-LABlab(29.25, 27.79, -56.99)
CIE-LCHlch(29.25, 63.41, 296.00°)
OKLaboklab(40.08% -0.0092 -0.1648)
OKLCHoklch(40.08% 0.165 266.8)
XYZxyz(8.4154, 5.9372, 33.4966)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203B9F #9F8420
analogous
#207B9F #203B9F #44209F
triadic
#203B9F #9F203B #3B9F20
tetradic
#203B9F #9F207B #9F8420 #209F44
square
#203B9F #9F207B #9F8420 #209F44
split-complementary
#203B9F #9F4420 #7B9F20
monochromatic
#0B1539 #16286C #203B9F #2A4ED2 #5B77DE

Accessibility & contrast

On white

9.60
#203B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#203B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203B9F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203B9F#FFFFFF#000000##FFFFFF
##203B9F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203b9f;
/* rgb */ color: rgb(32, 59, 159);
/* oklch */ color: oklch(40.1% 0.165 266.8);
Tailwind
colors: {
  custom: {
    50: '#7170bc',
    500: '#203b9f',
    950: '#000000',
  },
}
SCSS
$custom: #203b9f;
$custom-light: #7170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203b9f",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 227.244,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.1651,
    "h": 266.8
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#203B9F
secondary
#C2AC59
accent
#C53EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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