#20488C#20488C

#20488C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.122 H 260.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#20488C
RGBrgb(32, 72, 140)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 77%, 55%)
CMYKcmyk(77.1%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.43, 11.40, -41.87)
CIE-LCHlch(31.43, 43.39, 285.24°)
OKLaboklab(41.25% -0.0205 -0.1202)
OKLCHoklch(41.25% 0.122 260.3)
XYZxyz(7.6449, 6.8344, 25.7221)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20488C #8C6420
analogous
#207E8C #20488C #2E208C
triadic
#20488C #8C2048 #488C20
tetradic
#20488C #8C207E #8C6420 #208C2E
square
#20488C #8C207E #8C6420 #208C2E
split-complementary
#20488C #8C2E20 #7E8C20
monochromatic
#091528 #152E5A #20488C #2B62BE #5082D7

Accessibility & contrast

On white

8.87
#20488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20488C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20488C#FFFFFF#000000##FFFFFF
##20488C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20488c;
/* rgb */ color: rgb(32, 72, 140);
/* oklch */ color: oklch(41.3% 0.122 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c7aae',
    500: '#20488c',
    950: '#000000',
  },
}
SCSS
$custom: #20488c;
$custom-light: #6c7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#20488c",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 217.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41251,
    "c": 0.12191,
    "h": 260.3
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20488C

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

Preview Lab → · Contrast checker → · Palette generator →

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