#20498F#20498F

#20498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.125 H 260.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#20498F
RGBrgb(32, 73, 143)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 78%, 56%)
CMYKcmyk(77.6%, 49%, 0%, 43.9%)
CIE-LABlab(31.93, 11.92, -42.90)
CIE-LCHlch(31.93, 44.52, 285.54°)
OKLaboklab(41.7% -0.0209 -0.1232)
OKLCHoklch(41.7% 0.125 260.4)
XYZxyz(7.9343, 7.0544, 26.9248)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20498F #8F6620
analogous
#20818F #20498F #2F208F
triadic
#20498F #8F2049 #498F20
tetradic
#20498F #8F2081 #8F6620 #208F2F
square
#20498F #8F2081 #8F6620 #208F2F
split-complementary
#20498F #8F2F20 #818F20
monochromatic
#0A162B #152F5D #20498F #2B63C1 #5183D8

Accessibility & contrast

On white

8.71
#20498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20498F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20498F#FFFFFF#000000##FFFFFF
##20498F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20498f;
/* rgb */ color: rgb(32, 73, 143);
/* oklch */ color: oklch(41.7% 0.125 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c7bb0',
    500: '#20498f',
    950: '#000000',
  },
}
SCSS
$custom: #20498f;
$custom-light: #6c7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#20498f",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 217.838,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.12494,
    "h": 260.4
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#20498F
secondary
#BB944F
accent
#A941E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #20498F

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

Preview Lab → · Contrast checker → · Palette generator →

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