#203F8F#203F8F

#203F8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.138 H 264.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#203F8F
RGBrgb(32, 63, 143)
HSLhsl(223, 63%, 34%)
HSVhsv(223, 78%, 56%)
CMYKcmyk(77.6%, 55.9%, 0%, 43.9%)
CIE-LABlab(29.02, 18.78, -47.60)
CIE-LCHlch(29.02, 51.18, 291.53°)
OKLaboklab(39.48% -0.0126 -0.1372)
OKLCHoklch(39.48% 0.138 264.8)
XYZxyz(7.3293, 5.8444, 26.7231)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F8F #8F7020
analogous
#20778F #203F8F #38208F
triadic
#203F8F #8F203F #3F8F20
tetradic
#203F8F #8F2077 #8F7020 #208F38
square
#203F8F #8F2077 #8F7020 #208F38
split-complementary
#203F8F #8F3820 #778F20
monochromatic
#0A132B #15295D #203F8F #2B55C1 #5177D8

Accessibility & contrast

On white

9.68
#203F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#203F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F8F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F8F#FFFFFF#000000##FFFFFF
##203F8F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203f8f;
/* rgb */ color: rgb(32, 63, 143);
/* oklch */ color: oklch(39.5% 0.138 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d73b0',
    500: '#203f8f',
    950: '#000000',
  },
}
SCSS
$custom: #203f8f;
$custom-light: #6d73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203f8f",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 223.243,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.13781,
    "h": 264.8
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#203F8F
secondary
#BB9D4F
accent
#B841E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #203F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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