#20498B#20498B

#20498B is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.119 H 259.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#20498B
RGBrgb(32, 73, 139)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 77%, 55%)
CMYKcmyk(77%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.66, 10.33, -40.88)
CIE-LCHlch(31.66, 42.16, 284.18°)
OKLaboklab(41.41% -0.0216 -0.1172)
OKLCHoklch(41.41% 0.119 259.6)
XYZxyz(7.6367, 6.9354, 25.3573)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20498B #8B6220
analogous
#207E8B #20498B #2C208B
triadic
#20498B #8B2049 #498B20
tetradic
#20498B #8B207E #8B6220 #208B2C
square
#20498B #8B207E #8B6220 #208B2C
split-complementary
#20498B #8B2C20 #7E8B20
monochromatic
#091528 #152F59 #20498B #2B63BD #4F83D6

Accessibility & contrast

On white

8.80
#20498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#20498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20498B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20498B#FFFFFF#000000##FFFFFF
##20498B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508D
Deuteranopia (green-blind)
#0C468A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20498b;
/* rgb */ color: rgb(32, 73, 139);
/* oklch */ color: oklch(41.4% 0.119 259.6);
Tailwind
colors: {
  custom: {
    50: '#6c7bad',
    500: '#20498b',
    950: '#000000',
  },
}
SCSS
$custom: #20498b;
$custom-light: #6c7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#20498b",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 217.009,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41408,
    "c": 0.11921,
    "h": 259.6
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#20498B
secondary
#BA904D
accent
#A742E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #20498B

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

Preview Lab → · Contrast checker → · Palette generator →

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