#20459E#20459E

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

Color values

HEX#20459E
RGBrgb(32, 69, 158)
HSLhsl(222, 66%, 37%)
HSVhsv(222, 80%, 62%)
CMYKcmyk(79.7%, 56.3%, 0%, 38%)
CIE-LABlab(31.88, 20.62, -52.11)
CIE-LCHlch(31.88, 56.04, 291.59°)
OKLaboklab(42.01% -0.0159 -0.1504)
OKLCHoklch(42.01% 0.151 263.9)
XYZxyz(8.8931, 7.0309, 33.2295)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20459E #9E7920
analogous
#20849E #20459E #3A209E
triadic
#20459E #9E2045 #459E20
tetradic
#20459E #9E2084 #9E7920 #209E3A
square
#20459E #9E2084 #9E7920 #209E3A
split-complementary
#20459E #9E3A20 #849E20
monochromatic
#0B1938 #162F6B #20459E #2A5BD1 #5B81DE

Accessibility & contrast

On white

8.73
#20459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#20459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20459E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20459E#FFFFFF#000000##FFFFFF
##20459E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20459e;
/* rgb */ color: rgb(32, 69, 158);
/* oklch */ color: oklch(42.0% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#7078bb',
    500: '#20459e',
    950: '#000000',
  },
}
SCSS
$custom: #20459e;
$custom-light: #7078bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20459e",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 222.381,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.15119,
    "h": 263.9
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20459E

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

Preview Lab → · Contrast checker → · Palette generator →

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