#20478F#20478F

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

Color values

HEX#20478F
RGBrgb(32, 71, 143)
HSLhsl(219, 63%, 34%)
HSVhsv(219, 78%, 56%)
CMYKcmyk(77.6%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.34, 13.29, -43.85)
CIE-LCHlch(31.34, 45.82, 286.86°)
OKLaboklab(41.25% -0.0192 -0.126)
OKLCHoklch(41.25% 0.127 261.4)
XYZxyz(7.8050, 6.7958, 26.8817)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20478F #8F6820
analogous
#207F8F #20478F #31208F
triadic
#20478F #8F2047 #478F20
tetradic
#20478F #8F207F #8F6820 #208F31
square
#20478F #8F207F #8F6820 #208F31
split-complementary
#20478F #8F3120 #7F8F20
monochromatic
#0A152B #152E5D #20478F #2B60C1 #5181D8

Accessibility & contrast

On white

8.90
#20478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#20478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20478F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20478F#FFFFFF#000000##FFFFFF
##20478F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20478f;
/* rgb */ color: rgb(32, 71, 143);
/* oklch */ color: oklch(41.2% 0.127 261.4);
Tailwind
colors: {
  custom: {
    50: '#6d79b0',
    500: '#20478f',
    950: '#000000',
  },
}
SCSS
$custom: #20478f;
$custom-light: #6d79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20478f",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 218.919,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.12748,
    "h": 261.4
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20478F

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

Preview Lab → · Contrast checker → · Palette generator →

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