#20478E#20478E

#20478E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.126 H 261.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#20478E
RGBrgb(32, 71, 142)
HSLhsl(219, 63%, 34%)
HSVhsv(219, 77%, 56%)
CMYKcmyk(77.5%, 50%, 0%, 44.3%)
CIE-LABlab(31.27, 12.89, -43.35)
CIE-LCHlch(31.27, 45.23, 286.56°)
OKLaboklab(41.17% -0.0193 -0.1246)
OKLCHoklch(41.17% 0.126 261.2)
XYZxyz(7.7296, 6.7657, 26.4845)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20478E #8E6720
analogous
#207E8E #20478E #30208E
triadic
#20478E #8E2047 #478E20
tetradic
#20478E #8E207E #8E6720 #208E30
square
#20478E #8E207E #8E6720 #208E30
split-complementary
#20478E #8E3020 #7E8E20
monochromatic
#09152A #152E5C #20478E #2B60C0 #5181D8

Accessibility & contrast

On white

8.92
#20478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#20478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20478E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20478E#FFFFFF#000000##FFFFFF
##20478E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20478e;
/* rgb */ color: rgb(32, 71, 142);
/* oklch */ color: oklch(41.2% 0.126 261.2);
Tailwind
colors: {
  custom: {
    50: '#6c79b0',
    500: '#20478e',
    950: '#000000',
  },
}
SCSS
$custom: #20478e;
$custom-light: #6c79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20478e",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 218.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.12605,
    "h": 261.2
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#20478E
secondary
#BB954F
accent
#AC42E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #20478E

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

Preview Lab → · Contrast checker → · Palette generator →

#20478E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva