#20498D#20498D

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

Color values

HEX#20498D
RGBrgb(32, 73, 141)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 77%, 55%)
CMYKcmyk(77.3%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.79, 11.13, -41.89)
CIE-LCHlch(31.79, 43.34, 284.87°)
OKLaboklab(41.56% -0.0212 -0.1202)
OKLCHoklch(41.56% 0.122 260)
XYZxyz(7.7842, 6.9944, 26.1339)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20498D #8D6420
analogous
#20808D #20498D #2E208D
triadic
#20498D #8D2049 #498D20
tetradic
#20498D #8D2080 #8D6420 #208D2E
square
#20498D #8D2080 #8D6420 #208D2E
split-complementary
#20498D #8D2E20 #808D20
monochromatic
#091529 #152F5B #20498D #2B63BF #5083D7

Accessibility & contrast

On white

8.75
#20498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#20498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20498D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20498D#FFFFFF#000000##FFFFFF
##20498D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#06468C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20498d;
/* rgb */ color: rgb(32, 73, 141);
/* oklch */ color: oklch(41.6% 0.122 260.0);
Tailwind
colors: {
  custom: {
    50: '#6c7baf',
    500: '#20498d',
    950: '#000000',
  },
}
SCSS
$custom: #20498d;
$custom-light: #6c7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#20498d",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 217.431,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.12208,
    "h": 260
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#20498D
secondary
#BA924E
accent
#A842E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #20498D

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

Preview Lab → · Contrast checker → · Palette generator →

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