#20319D#20319D

#20319D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.174 H 268.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#20319D
RGBrgb(32, 49, 157)
HSLhsl(232, 66%, 37%)
HSVhsv(232, 80%, 62%)
CMYKcmyk(79.6%, 68.8%, 0%, 38.4%)
CIE-LABlab(26.55, 33.65, -60.20)
CIE-LCHlch(26.55, 68.97, 299.20°)
OKLaboklab(38.04% -0.0035 -0.1743)
OKLCHoklch(38.04% 0.174 268.8)
XYZxyz(7.7777, 4.9371, 32.4348)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20319D #9D8C20
analogous
#20709D #20319D #4E209D
triadic
#20319D #9D2031 #319D20
tetradic
#20319D #9D2070 #9D8C20 #209D4E
square
#20319D #9D2070 #9D8C20 #209D4E
split-complementary
#20319D #9D4E20 #709D20
monochromatic
#0B1137 #16216A #20319D #2A41D0 #5A6CDD

Accessibility & contrast

On white

10.57
#20319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#20319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20319D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20319D#FFFFFF#000000##FFFFFF
##20319D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20319d;
/* rgb */ color: rgb(32, 49, 157);
/* oklch */ color: oklch(38.0% 0.174 268.8);
Tailwind
colors: {
  custom: {
    50: '#7269bb',
    500: '#20319d',
    950: '#000000',
  },
}
SCSS
$custom: #20319d;
$custom-light: #7269bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20319d",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 231.84,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.17435,
    "h": 268.8
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#20319D
secondary
#C1B357
accent
#D23FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20319D

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

Preview Lab → · Contrast checker → · Palette generator →

#20319D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva