#20498E#20498E

#20498E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.124 H 260.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#20498E
RGBrgb(32, 73, 142)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 77%, 56%)
CMYKcmyk(77.5%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.86, 11.52, -42.39)
CIE-LCHlch(31.86, 43.93, 285.21°)
OKLaboklab(41.63% -0.0211 -0.1217)
OKLCHoklch(41.63% 0.124 260.2)
XYZxyz(7.8589, 7.0243, 26.5276)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20498E #8E6520
analogous
#20808E #20498E #2E208E
triadic
#20498E #8E2049 #498E20
tetradic
#20498E #8E2080 #8E6520 #208E2E
square
#20498E #8E2080 #8E6520 #208E2E
split-complementary
#20498E #8E2E20 #808E20
monochromatic
#09162A #152F5C #20498E #2B63C0 #5183D8

Accessibility & contrast

On white

8.73
#20498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#20498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20498E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20498E#FFFFFF#000000##FFFFFF
##20498E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#03468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20498e;
/* rgb */ color: rgb(32, 73, 142);
/* oklch */ color: oklch(41.6% 0.124 260.2);
Tailwind
colors: {
  custom: {
    50: '#6c7baf',
    500: '#20498e',
    950: '#000000',
  },
}
SCSS
$custom: #20498e;
$custom-light: #6c7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#20498e",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 217.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.12351,
    "h": 260.2
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#20498E
secondary
#BB934F
accent
#A942E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #20498E

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

Preview Lab → · Contrast checker → · Palette generator →

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