#20488F#20488F

#20488F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.126 H 260.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#20488F
RGBrgb(32, 72, 143)
HSLhsl(218, 63%, 34%)
HSVhsv(218, 78%, 56%)
CMYKcmyk(77.6%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.63, 12.61, -43.37)
CIE-LCHlch(31.63, 45.17, 286.20°)
OKLaboklab(41.48% -0.02 -0.1246)
OKLCHoklch(41.48% 0.126 260.9)
XYZxyz(7.8692, 6.9241, 26.9030)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20488F #8F6720
analogous
#20808F #20488F #2F208F
triadic
#20488F #8F2048 #488F20
tetradic
#20488F #8F2080 #8F6720 #208F2F
square
#20488F #8F2080 #8F6720 #208F2F
split-complementary
#20488F #8F2F20 #808F20
monochromatic
#0A162B #152F5D #20488F #2B61C1 #5182D8

Accessibility & contrast

On white

8.81
#20488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#20488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20488F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20488F#FFFFFF#000000##FFFFFF
##20488F1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20488f;
/* rgb */ color: rgb(32, 72, 143);
/* oklch */ color: oklch(41.5% 0.126 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7ab0',
    500: '#20488f',
    950: '#000000',
  },
}
SCSS
$custom: #20488f;
$custom-light: #6d7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#20488f",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 218.378,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.1262,
    "h": 260.9
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20488F

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

Preview Lab → · Contrast checker → · Palette generator →

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