#20479C#20479C

#20479C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.146 H 263.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#20479C
RGBrgb(32, 71, 156)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 79%, 61%)
CMYKcmyk(79.5%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.29, 18.47, -50.23)
CIE-LCHlch(32.29, 53.52, 290.19°)
OKLaboklab(42.27% -0.0176 -0.1448)
OKLCHoklch(42.27% 0.146 263.1)
XYZxyz(8.8475, 7.2128, 32.3720)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20479C #9C7520
analogous
#20859C #20479C #37209C
triadic
#20479C #9C2047 #479C20
tetradic
#20479C #9C2085 #9C7520 #209C37
square
#20479C #9C2085 #9C7520 #209C37
split-complementary
#20479C #9C3720 #859C20
monochromatic
#0B1936 #163069 #20479C #2A5ECF #5983DD

Accessibility & contrast

On white

8.60
#20479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#20479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20479C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20479C#FFFFFF#000000##FFFFFF
##20479C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20479c;
/* rgb */ color: rgb(32, 71, 156);
/* oklch */ color: oklch(42.3% 0.146 263.1);
Tailwind
colors: {
  custom: {
    50: '#7079ba',
    500: '#20479c',
    950: '#000000',
  },
}
SCSS
$custom: #20479c;
$custom-light: #7079ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20479c",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 221.129,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.14587,
    "h": 263.1
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#20479C
secondary
#C1A057
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20479C

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

Preview Lab → · Contrast checker → · Palette generator →

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