#20498A#20498A

#20498A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.118 H 259.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#20498A
RGBrgb(32, 73, 138)
HSLhsl(217, 62%, 33%)
HSVhsv(217, 77%, 54%)
CMYKcmyk(76.8%, 47.1%, 0%, 45.9%)
CIE-LABlab(31.59, 9.93, -40.37)
CIE-LCHlch(31.59, 41.57, 283.81°)
OKLaboklab(41.34% -0.0218 -0.1157)
OKLCHoklch(41.34% 0.118 259.4)
XYZxyz(7.5640, 6.9063, 24.9742)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20498A #8A6120
analogous
#207E8A #20498A #2C208A
triadic
#20498A #8A2049 #498A20
tetradic
#20498A #8A207E #8A6120 #208A2C
square
#20498A #8A207E #8A6120 #208A2C
split-complementary
#20498A #8A2C20 #7E8A20
monochromatic
#091427 #142F58 #20498A #2C63BC #4E83D6

Accessibility & contrast

On white

8.82
#20498A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#20498A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20498A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20498A#FFFFFF#000000##FFFFFF
##20498A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508C
Deuteranopia (green-blind)
#0F4689
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20498a;
/* rgb */ color: rgb(32, 73, 138);
/* oklch */ color: oklch(41.3% 0.118 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b7bad',
    500: '#20498a',
    950: '#000000',
  },
}
SCSS
$custom: #20498a;
$custom-light: #6b7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#20498a",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 216.792,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.11778,
    "h": 259.4
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#20498A
secondary
#B98F4D
accent
#A642E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #20498A

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

Preview Lab → · Contrast checker → · Palette generator →

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