#203C99#203C99

#203C99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.156 H 266.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#203C99
RGBrgb(32, 60, 153)
HSLhsl(226, 65%, 36%)
HSVhsv(226, 79%, 60%)
CMYKcmyk(79.1%, 60.8%, 0%, 40%)
CIE-LABlab(29.00, 24.79, -53.76)
CIE-LCHlch(29.00, 59.20, 294.75°)
OKLaboklab(39.73% -0.0099 -0.1553)
OKLCHoklch(39.73% 0.156 266.3)
XYZxyz(7.9593, 5.8378, 30.8381)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C99 #997D20
analogous
#207999 #203C99 #412099
triadic
#203C99 #99203C #3C9920
tetradic
#203C99 #992079 #997D20 #209941
square
#203C99 #992079 #997D20 #209941
split-complementary
#203C99 #994120 #799920
monochromatic
#0B1434 #152866 #203C99 #2B50CC #5776DC

Accessibility & contrast

On white

9.69
#203C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#203C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C99
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C99#FFFFFF#000000##FFFFFF
##203C991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203c99;
/* rgb */ color: rgb(32, 60, 153);
/* oklch */ color: oklch(39.7% 0.156 266.3);
Tailwind
colors: {
  custom: {
    50: '#7071b8',
    500: '#203c99',
    950: '#000000',
  },
}
SCSS
$custom: #203c99;
$custom-light: #7071b8;
$custom-dark: #000000;
JSON
{
  "hex": "#203c99",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 226.116,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.15567,
    "h": 266.3
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#203C99
secondary
#C0A755
accent
#C13FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203C99

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

Preview Lab → · Contrast checker → · Palette generator →

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