#20498C#20498C

#20498C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.5% C 0.121 H 259.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#20498C
RGBrgb(32, 73, 140)
HSLhsl(217, 63%, 34%)
HSVhsv(217, 77%, 55%)
CMYKcmyk(77.1%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.73, 10.73, -41.38)
CIE-LCHlch(31.73, 42.75, 284.53°)
OKLaboklab(41.48% -0.0214 -0.1187)
OKLCHoklch(41.48% 0.121 259.8)
XYZxyz(7.7101, 6.9647, 25.7438)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20498C #8C6320
analogous
#207F8C #20498C #2D208C
triadic
#20498C #8C2049 #498C20
tetradic
#20498C #8C207F #8C6320 #208C2D
square
#20498C #8C207F #8C6320 #208C2D
split-complementary
#20498C #8C2D20 #7F8C20
monochromatic
#091528 #152F5A #20498C #2B63BE #5083D7

Accessibility & contrast

On white

8.77
#20498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20498C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20498C#FFFFFF#000000##FFFFFF
##20498C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#09468B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20498c;
/* rgb */ color: rgb(32, 73, 140);
/* oklch */ color: oklch(41.5% 0.121 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7bae',
    500: '#20498c',
    950: '#000000',
  },
}
SCSS
$custom: #20498c;
$custom-light: #6c7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#20498c",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 217.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41481,
    "c": 0.12064,
    "h": 259.8
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20498C

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

Preview Lab → · Contrast checker → · Palette generator →

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