#20459D#20459D

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

Color values

HEX#20459D
RGBrgb(32, 69, 157)
HSLhsl(222, 66%, 37%)
HSVhsv(222, 80%, 62%)
CMYKcmyk(79.6%, 56.1%, 0%, 38.4%)
CIE-LABlab(31.80, 20.23, -51.63)
CIE-LCHlch(31.80, 55.45, 291.40°)
OKLaboklab(41.93% -0.016 -0.1489)
OKLCHoklch(41.93% 0.15 263.9)
XYZxyz(8.8074, 6.9966, 32.7780)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20459D #9D7820
analogous
#20849D #20459D #3A209D
triadic
#20459D #9D2045 #459D20
tetradic
#20459D #9D2084 #9D7820 #209D3A
square
#20459D #9D2084 #9D7820 #209D3A
split-complementary
#20459D #9D3A20 #849D20
monochromatic
#0B1837 #162F6A #20459D #2A5BD0 #5A81DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20459D#FFFFFF#000000##FFFFFF
##20459D1.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)
#0051A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20459d;
/* rgb */ color: rgb(32, 69, 157);
/* oklch */ color: oklch(41.9% 0.150 263.9);
Tailwind
colors: {
  custom: {
    50: '#7078bb',
    500: '#20459d',
    950: '#000000',
  },
}
SCSS
$custom: #20459d;
$custom-light: #7078bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20459d",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 222.24,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.14981,
    "h": 263.9
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#20459D
secondary
#C1A257
accent
#B73FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20459D

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

Preview Lab → · Contrast checker → · Palette generator →

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