#20488B#20488B

#20488B is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.120 H 260.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#20488B
RGBrgb(32, 72, 139)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 77%, 55%)
CMYKcmyk(77%, 48.2%, 0%, 45.5%)
CIE-LABlab(31.36, 11.01, -41.36)
CIE-LCHlch(31.36, 42.80, 284.90°)
OKLaboklab(41.18% -0.0207 -0.1187)
OKLCHoklch(41.18% 0.12 260.1)
XYZxyz(7.5715, 6.8050, 25.3356)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20488B #8B6320
analogous
#207D8B #20488B #2D208B
triadic
#20488B #8B2048 #488B20
tetradic
#20488B #8B207D #8B6320 #208B2D
square
#20488B #8B207D #8B6320 #208B2D
split-complementary
#20488B #8B2D20 #7D8B20
monochromatic
#091428 #152E59 #20488B #2B62BD #4F82D6

Accessibility & contrast

On white

8.89
#20488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20488B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20488B#FFFFFF#000000##FFFFFF
##20488B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#07458A
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20488b;
/* rgb */ color: rgb(32, 72, 139);
/* oklch */ color: oklch(41.2% 0.120 260.1);
Tailwind
colors: {
  custom: {
    50: '#6c7aad',
    500: '#20488b',
    950: '#000000',
  },
}
SCSS
$custom: #20488b;
$custom-light: #6c7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#20488b",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 217.57,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.12047,
    "h": 260.1
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#20488B
secondary
#BA914D
accent
#A942E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #20488B

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

Preview Lab → · Contrast checker → · Palette generator →

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