#20488A#20488A

#20488A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.119 H 259.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#20488A
RGBrgb(32, 72, 138)
HSLhsl(217, 62%, 33%)
HSVhsv(217, 77%, 54%)
CMYKcmyk(76.8%, 47.8%, 0%, 45.9%)
CIE-LABlab(31.29, 10.61, -40.85)
CIE-LCHlch(31.29, 42.21, 284.55°)
OKLaboklab(41.1% -0.0209 -0.1172)
OKLCHoklch(41.1% 0.119 259.9)
XYZxyz(7.4988, 6.7759, 24.9525)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20488A #8A6220
analogous
#207D8A #20488A #2D208A
triadic
#20488A #8A2048 #488A20
tetradic
#20488A #8A207D #8A6220 #208A2D
square
#20488A #8A207D #8A6220 #208A2D
split-complementary
#20488A #8A2D20 #7D8A20
monochromatic
#091427 #142E58 #20488A #2C62BC #4E82D6

Accessibility & contrast

On white

8.92
#20488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#20488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20488A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20488A#FFFFFF#000000##FFFFFF
##20488A1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#0A4589
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20488a;
/* rgb */ color: rgb(32, 72, 138);
/* oklch */ color: oklch(41.1% 0.119 259.9);
Tailwind
colors: {
  custom: {
    50: '#6b7aad',
    500: '#20488a',
    950: '#000000',
  },
}
SCSS
$custom: #20488a;
$custom-light: #6b7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#20488a",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 217.358,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.11903,
    "h": 259.9
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#20488A
secondary
#B9904D
accent
#A842E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #20488A

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

Preview Lab → · Contrast checker → · Palette generator →

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