#20379A#20379A

#20379A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.163 H 267.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#20379A
RGBrgb(32, 55, 154)
HSLhsl(229, 66%, 36%)
HSVhsv(229, 79%, 60%)
CMYKcmyk(79.2%, 64.3%, 0%, 39.6%)
CIE-LABlab(27.77, 28.55, -56.38)
CIE-LCHlch(27.77, 63.20, 296.86°)
OKLaboklab(38.84% -0.0067 -0.1631)
OKLCHoklch(38.84% 0.163 267.6)
XYZxyz(7.7926, 5.3717, 31.1917)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20379A #9A8320
analogous
#20749A #20379A #46209A
triadic
#20379A #9A2037 #379A20
tetradic
#20379A #9A2074 #9A8320 #209A46
square
#20379A #9A2074 #9A8320 #209A46
split-complementary
#20379A #9A4620 #749A20
monochromatic
#0B1335 #152567 #20379A #2B49CD #5871DC

Accessibility & contrast

On white

10.12
#20379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#20379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20379A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20379A#FFFFFF#000000##FFFFFF
##20379A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #20379a;
/* rgb */ color: rgb(32, 55, 154);
/* oklch */ color: oklch(38.8% 0.163 267.6);
Tailwind
colors: {
  custom: {
    50: '#706db9',
    500: '#20379a',
    950: '#000000',
  },
}
SCSS
$custom: #20379a;
$custom-light: #706db9;
$custom-dark: #000000;
JSON
{
  "hex": "#20379a",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 228.689,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.16324,
    "h": 267.6
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#20379A
secondary
#C0AC56
accent
#C93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #20379A

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

Preview Lab → · Contrast checker → · Palette generator →

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