#20488D#20488D

#20488D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.3% C 0.123 H 260.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#20488D
RGBrgb(32, 72, 141)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 77%, 55%)
CMYKcmyk(77.3%, 48.9%, 0%, 44.7%)
CIE-LABlab(31.50, 11.81, -42.37)
CIE-LCHlch(31.50, 43.98, 285.57°)
OKLaboklab(41.33% -0.0203 -0.1216)
OKLCHoklch(41.33% 0.123 260.5)
XYZxyz(7.7190, 6.8640, 26.1122)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20488D #8D6520
analogous
#207F8D #20488D #2F208D
triadic
#20488D #8D2048 #488D20
tetradic
#20488D #8D207F #8D6520 #208D2F
square
#20488D #8D207F #8D6520 #208D2F
split-complementary
#20488D #8D2F20 #7F8D20
monochromatic
#091529 #152F5B #20488D #2B61BF #5082D7

Accessibility & contrast

On white

8.85
#20488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#20488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20488D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20488D#FFFFFF#000000##FFFFFF
##20488D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#01458C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20488d;
/* rgb */ color: rgb(32, 72, 141);
/* oklch */ color: oklch(41.3% 0.123 260.5);
Tailwind
colors: {
  custom: {
    50: '#6c7aaf',
    500: '#20488d',
    950: '#000000',
  },
}
SCSS
$custom: #20488d;
$custom-light: #6c7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#20488d",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 217.982,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.12334,
    "h": 260.5
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#20488D
secondary
#BA934E
accent
#AA42E6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #20488D

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

Preview Lab → · Contrast checker → · Palette generator →

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