#20319C#20319C

#20319C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.173 H 268.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#20319C
RGBrgb(32, 49, 156)
HSLhsl(232, 66%, 37%)
HSVhsv(232, 79%, 61%)
CMYKcmyk(79.5%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.46, 33.28, -59.75)
CIE-LCHlch(26.46, 68.39, 299.11°)
OKLaboklab(37.94% -0.0035 -0.173)
OKLCHoklch(37.94% 0.173 268.9)
XYZxyz(7.6927, 4.9031, 31.9870)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20319C #9C8B20
analogous
#206F9C #20319C #4D209C
triadic
#20319C #9C2031 #319C20
tetradic
#20319C #9C206F #9C8B20 #209C4D
square
#20319C #9C206F #9C8B20 #209C4D
split-complementary
#20319C #9C4D20 #6F9C20
monochromatic
#0B1136 #162169 #20319C #2A41CF #596BDD

Accessibility & contrast

On white

10.60
#20319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#20319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20319C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20319C#FFFFFF#000000##FFFFFF
##20319C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20319c;
/* rgb */ color: rgb(32, 49, 156);
/* oklch */ color: oklch(37.9% 0.173 268.9);
Tailwind
colors: {
  custom: {
    50: '#7269ba',
    500: '#20319c',
    950: '#000000',
  },
}
SCSS
$custom: #20319c;
$custom-light: #7269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20319c",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 231.774,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37936,
    "c": 0.17303,
    "h": 268.9
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#20319C
secondary
#C1B257
accent
#D23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20319C

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

Preview Lab → · Contrast checker → · Palette generator →

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