#203C8F#203C8F

#203C8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.142 H 265.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#203C8F
RGBrgb(32, 60, 143)
HSLhsl(225, 63%, 34%)
HSVhsv(225, 78%, 56%)
CMYKcmyk(77.6%, 58%, 0%, 43.9%)
CIE-LABlab(28.17, 20.85, -48.98)
CIE-LCHlch(28.17, 53.23, 293.06°)
OKLaboklab(38.85% -0.0103 -0.1413)
OKLCHoklch(38.85% 0.142 265.8)
XYZxyz(7.1677, 5.5212, 26.6692)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C8F #8F7320
analogous
#20748F #203C8F #3C208F
triadic
#203C8F #8F203C #3C8F20
tetradic
#203C8F #8F2074 #8F7320 #208F3C
square
#203C8F #8F2074 #8F7320 #208F3C
split-complementary
#203C8F #8F3C20 #748F20
monochromatic
#0A122B #15275D #203C8F #2B51C1 #5173D8

Accessibility & contrast

On white

9.98
#203C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#203C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C8F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C8F#FFFFFF#000000##FFFFFF
##203C8F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203c8f;
/* rgb */ color: rgb(32, 60, 143);
/* oklch */ color: oklch(38.8% 0.142 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d71b0',
    500: '#203c8f',
    950: '#000000',
  },
}
SCSS
$custom: #203c8f;
$custom-light: #6d71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#203c8f",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 224.865,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.14169,
    "h": 265.8
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#203C8F
secondary
#BBA04F
accent
#BD41E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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