#20479F#20479F

#20479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.150 H 263.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#20479F
RGBrgb(32, 71, 159)
HSLhsl(222, 66%, 37%)
HSVhsv(222, 80%, 62%)
CMYKcmyk(79.9%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.52, 19.66, -51.67)
CIE-LCHlch(32.52, 55.29, 290.83°)
OKLaboklab(42.52% -0.0173 -0.149)
OKLCHoklch(42.52% 0.15 263.4)
XYZxyz(9.1047, 7.3157, 33.7264)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20479F #9F7820
analogous
#20869F #20479F #39209F
triadic
#20479F #9F2047 #479F20
tetradic
#20479F #9F2086 #9F7820 #209F39
square
#20479F #9F2086 #9F7820 #209F39
split-complementary
#20479F #9F3920 #869F20
monochromatic
#0B1A39 #16306C #20479F #2A5ED2 #5B83DE

Accessibility & contrast

On white

8.52
#20479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#20479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20479F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20479F#FFFFFF#000000##FFFFFF
##20479F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20479f;
/* rgb */ color: rgb(32, 71, 159);
/* oklch */ color: oklch(42.5% 0.150 263.4);
Tailwind
colors: {
  custom: {
    50: '#7179bc',
    500: '#20479f',
    950: '#000000',
  },
}
SCSS
$custom: #20479f;
$custom-light: #7179bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20479f",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 221.575,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.15005,
    "h": 263.4
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#20479F
secondary
#C2A259
accent
#B53EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20479F

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

Preview Lab → · Contrast checker → · Palette generator →

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