#203F9F#203F9F

#203F9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.160 H 265.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#203F9F
RGBrgb(32, 63, 159)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 80%, 62%)
CMYKcmyk(79.9%, 60.4%, 0%, 37.6%)
CIE-LABlab(30.31, 25.09, -55.26)
CIE-LCHlch(30.31, 60.69, 294.42°)
OKLaboklab(40.86% -0.0118 -0.1597)
OKLCHoklch(40.86% 0.16 265.8)
XYZxyz(8.6290, 6.3643, 33.5678)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F9F #9F8020
analogous
#207F9F #203F9F #40209F
triadic
#203F9F #9F203F #3F9F20
tetradic
#203F9F #9F207F #9F8020 #209F40
square
#203F9F #9F207F #9F8020 #209F40
split-complementary
#203F9F #9F4020 #7F9F20
monochromatic
#0B1739 #162B6C #203F9F #2A53D2 #5B7BDE

Accessibility & contrast

On white

9.24
#203F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#203F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F9F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F9F#FFFFFF#000000##FFFFFF
##203F9F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203f9f;
/* rgb */ color: rgb(32, 63, 159);
/* oklch */ color: oklch(40.9% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#7173bc',
    500: '#203f9f',
    950: '#000000',
  },
}
SCSS
$custom: #203f9f;
$custom-light: #7173bc;
$custom-dark: #000000;
JSON
{
  "hex": "#203f9f",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 225.354,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.16014,
    "h": 265.8
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#203F9F
secondary
#C2A859
accent
#C03EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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