#20488E#20488E

#20488E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.125 H 260.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#20488E
RGBrgb(32, 72, 142)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 77%, 56%)
CMYKcmyk(77.5%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.56, 12.21, -42.87)
CIE-LCHlch(31.56, 44.58, 285.89°)
OKLaboklab(41.4% -0.0202 -0.1231)
OKLCHoklch(41.4% 0.125 260.7)
XYZxyz(7.7938, 6.8939, 26.5058)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20488E #8E6620
analogous
#207F8E #20488E #2F208E
triadic
#20488E #8E2048 #488E20
tetradic
#20488E #8E207F #8E6620 #208E2F
square
#20488E #8E207F #8E6620 #208E2F
split-complementary
#20488E #8E2F20 #7F8E20
monochromatic
#09152A #152F5C #20488E #2B61C0 #5182D8

Accessibility & contrast

On white

8.83
#20488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#20488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20488E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20488E#FFFFFF#000000##FFFFFF
##20488E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20488e;
/* rgb */ color: rgb(32, 72, 142);
/* oklch */ color: oklch(41.4% 0.125 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c7aaf',
    500: '#20488e',
    950: '#000000',
  },
}
SCSS
$custom: #20488e;
$custom-light: #6c7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#20488e",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 218.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.414,
    "c": 0.12477,
    "h": 260.7
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#20488E
secondary
#BB944F
accent
#AA42E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #20488E

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

Preview Lab → · Contrast checker → · Palette generator →

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