#20379C#20379C

#20379C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.166 H 267.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#20379C
RGBrgb(32, 55, 156)
HSLhsl(229, 66%, 37%)
HSVhsv(229, 79%, 61%)
CMYKcmyk(79.5%, 64.7%, 0%, 38.8%)
CIE-LABlab(27.95, 29.32, -57.30)
CIE-LCHlch(27.95, 64.37, 297.10°)
OKLaboklab(39.03% -0.0068 -0.1658)
OKLCHoklch(39.03% 0.166 267.7)
XYZxyz(7.9605, 5.4388, 32.0763)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20379C #9C8520
analogous
#20759C #20379C #47209C
triadic
#20379C #9C2037 #379C20
tetradic
#20379C #9C2075 #9C8520 #209C47
square
#20379C #9C2075 #9C8520 #209C47
split-complementary
#20379C #9C4720 #759C20
monochromatic
#0B1336 #162569 #20379C #2A49CF #5972DD

Accessibility & contrast

On white

10.06
#20379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#20379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20379C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20379C#FFFFFF#000000##FFFFFF
##20379C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #20379c;
/* rgb */ color: rgb(32, 55, 156);
/* oklch */ color: oklch(39.0% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#716dba',
    500: '#20379c',
    950: '#000000',
  },
}
SCSS
$custom: #20379c;
$custom-light: #716dba;
$custom-dark: #000000;
JSON
{
  "hex": "#20379c",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 228.871,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.16594,
    "h": 267.7
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#20379C
secondary
#C1AD57
accent
#C93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20379C

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

Preview Lab → · Contrast checker → · Palette generator →

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