#203F9D#203F9D

#203F9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.157 H 265.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#203F9D
RGBrgb(32, 63, 157)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 80%, 62%)
CMYKcmyk(79.6%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.15, 24.31, -54.32)
CIE-LCHlch(30.15, 59.51, 294.11°)
OKLaboklab(40.69% -0.0118 -0.157)
OKLCHoklch(40.69% 0.157 265.7)
XYZxyz(8.4568, 6.2954, 32.6612)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F9D #9D7E20
analogous
#207E9D #203F9D #40209D
triadic
#203F9D #9D203F #3F9D20
tetradic
#203F9D #9D207E #9D7E20 #209D40
square
#203F9D #9D207E #9D7E20 #209D40
split-complementary
#203F9D #9D4020 #7E9D20
monochromatic
#0B1637 #162B6A #203F9D #2A53D0 #5A7BDD

Accessibility & contrast

On white

9.30
#203F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#203F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F9D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F9D#FFFFFF#000000##FFFFFF
##203F9D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203f9d;
/* rgb */ color: rgb(32, 63, 157);
/* oklch */ color: oklch(40.7% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#7173bb',
    500: '#203f9d',
    950: '#000000',
  },
}
SCSS
$custom: #203f9d;
$custom-light: #7173bb;
$custom-dark: #000000;
JSON
{
  "hex": "#203f9d",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 225.12,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.15741,
    "h": 265.7
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#203F9D
secondary
#C1A757
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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