#203F8D#203F8D

#203F8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.135 H 264.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#203F8D
RGBrgb(32, 63, 141)
HSLhsl(223, 63%, 34%)
HSVhsv(223, 77%, 55%)
CMYKcmyk(77.3%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.86, 17.99, -46.62)
CIE-LCHlch(28.86, 49.97, 291.10°)
OKLaboklab(39.32% -0.0128 -0.1343)
OKLCHoklch(39.32% 0.135 264.6)
XYZxyz(7.1792, 5.7844, 25.9323)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F8D #8D6E20
analogous
#20768D #203F8D #38208D
triadic
#203F8D #8D203F #3F8D20
tetradic
#203F8D #8D2076 #8D6E20 #208D38
square
#203F8D #8D2076 #8D6E20 #208D38
split-complementary
#203F8D #8D3820 #768D20
monochromatic
#091229 #15295B #203F8D #2B55BF #5077D7

Accessibility & contrast

On white

9.74
#203F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#203F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F8D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F8D#FFFFFF#000000##FFFFFF
##203F8D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203f8d;
/* rgb */ color: rgb(32, 63, 141);
/* oklch */ color: oklch(39.3% 0.135 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c73af',
    500: '#203f8d',
    950: '#000000',
  },
}
SCSS
$custom: #203f8d;
$custom-light: #6c73af;
$custom-dark: #000000;
JSON
{
  "hex": "#203f8d",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 222.936,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.13495,
    "h": 264.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#203F8D
secondary
#BA9C4E
accent
#B742E6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #203F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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