#203E8F#203E8F

#203E8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.139 H 265.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#203E8F
RGBrgb(32, 62, 143)
HSLhsl(224, 63%, 34%)
HSVhsv(224, 78%, 56%)
CMYKcmyk(77.6%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.73, 19.47, -48.07)
CIE-LCHlch(28.73, 51.86, 292.05°)
OKLaboklab(39.27% -0.0118 -0.1386)
OKLCHoklch(39.27% 0.139 265.1)
XYZxyz(7.2745, 5.7347, 26.7048)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203E8F #8F7120
analogous
#20768F #203E8F #3A208F
triadic
#203E8F #8F203E #3E8F20
tetradic
#203E8F #8F2076 #8F7120 #208F3A
square
#203E8F #8F2076 #8F7120 #208F3A
split-complementary
#203E8F #8F3A20 #768F20
monochromatic
#0A132B #15285D #203E8F #2B54C1 #5176D8

Accessibility & contrast

On white

9.78
#203E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203E8F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203E8F#FFFFFF#000000##FFFFFF
##203E8F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203e8f;
/* rgb */ color: rgb(32, 62, 143);
/* oklch */ color: oklch(39.3% 0.139 265.1);
Tailwind
colors: {
  custom: {
    50: '#6d72b0',
    500: '#203e8f',
    950: '#000000',
  },
}
SCSS
$custom: #203e8f;
$custom-light: #6d72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203e8f",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 223.784,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.1391,
    "h": 265.1
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#203E8F
secondary
#BB9E4F
accent
#BA41E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #203E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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