#203F8E#203F8E

#203F8E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.136 H 264.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#203F8E
RGBrgb(32, 63, 142)
HSLhsl(223, 63%, 34%)
HSVhsv(223, 77%, 56%)
CMYKcmyk(77.5%, 55.6%, 0%, 44.3%)
CIE-LABlab(28.94, 18.38, -47.12)
CIE-LCHlch(28.94, 50.57, 291.32°)
OKLaboklab(39.4% -0.0127 -0.1358)
OKLCHoklch(39.4% 0.136 264.7)
XYZxyz(7.2539, 5.8143, 26.3259)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F8E #8E6F20
analogous
#20768E #203F8E #38208E
triadic
#203F8E #8E203F #3F8E20
tetradic
#203F8E #8E2076 #8E6F20 #208E38
square
#203F8E #8E2076 #8E6F20 #208E38
split-complementary
#203F8E #8E3820 #768E20
monochromatic
#09132A #15295C #203F8E #2B55C0 #5177D8

Accessibility & contrast

On white

9.71
#203F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203F8E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F8E#FFFFFF#000000##FFFFFF
##203F8E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203f8e;
/* rgb */ color: rgb(32, 63, 142);
/* oklch */ color: oklch(39.4% 0.136 264.7);
Tailwind
colors: {
  custom: {
    50: '#6d73b0',
    500: '#203f8e',
    950: '#000000',
  },
}
SCSS
$custom: #203f8e;
$custom-light: #6d73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203f8e",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 223.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.13638,
    "h": 264.7
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#203F8E
secondary
#BB9C4F
accent
#B842E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #203F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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