#203399#203399

#203399 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.167 H 268.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#203399
RGBrgb(32, 51, 153)
HSLhsl(231, 65%, 36%)
HSVhsv(231, 79%, 60%)
CMYKcmyk(79.1%, 66.7%, 0%, 40%)
CIE-LABlab(26.66, 30.84, -57.59)
CIE-LCHlch(26.66, 65.32, 298.17°)
OKLaboklab(38% -0.0043 -0.1667)
OKLCHoklch(38% 0.167 268.5)
XYZxyz(7.5273, 4.9738, 30.6941)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203399 #998620
analogous
#207099 #203399 #4A2099
triadic
#203399 #992033 #339920
tetradic
#203399 #992070 #998620 #20994A
square
#203399 #992070 #998620 #20994A
split-complementary
#203399 #994A20 #709920
monochromatic
#0B1134 #152266 #203399 #2B44CC #576CDC

Accessibility & contrast

On white

10.53
#203399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#203399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203399
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203399#FFFFFF#000000##FFFFFF
##2033991.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #203399;
/* rgb */ color: rgb(32, 51, 153);
/* oklch */ color: oklch(38.0% 0.167 268.5);
Tailwind
colors: {
  custom: {
    50: '#716ab8',
    500: '#203399',
    950: '#000000',
  },
}
SCSS
$custom: #203399;
$custom-light: #716ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#203399",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 230.579,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37996,
    "c": 0.16672,
    "h": 268.5
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#203399
secondary
#C0AF55
accent
#CE3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #203399

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

Preview Lab → · Contrast checker → · Palette generator →

#203399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva