#203F8B#203F8B

#203F8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.132 H 264.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#203F8B
RGBrgb(32, 63, 139)
HSLhsl(223, 63%, 34%)
HSVhsv(223, 77%, 55%)
CMYKcmyk(77%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.71, 17.19, -45.64)
CIE-LCHlch(28.71, 48.77, 290.64°)
OKLaboklab(39.15% -0.013 -0.1314)
OKLCHoklch(39.15% 0.132 264.4)
XYZxyz(7.0317, 5.7254, 25.1556)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F8B #8B6C20
analogous
#20748B #203F8B #36208B
triadic
#203F8B #8B203F #3F8B20
tetradic
#203F8B #8B2074 #8B6C20 #208B36
square
#203F8B #8B2074 #8B6C20 #208B36
split-complementary
#203F8B #8B3620 #748B20
monochromatic
#091228 #152859 #203F8B #2B56BD #4F76D6

Accessibility & contrast

On white

9.79
#203F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#203F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F8B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F8B#FFFFFF#000000##FFFFFF
##203F8B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203f8b;
/* rgb */ color: rgb(32, 63, 139);
/* oklch */ color: oklch(39.2% 0.132 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c73ad',
    500: '#203f8b',
    950: '#000000',
  },
}
SCSS
$custom: #203f8b;
$custom-light: #6c73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#203f8b",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 222.617,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39153,
    "c": 0.13208,
    "h": 264.4
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#203F8B
secondary
#BA9A4D
accent
#B642E6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #203F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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