#20458E#20458E

#20458E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.129 H 262.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#20458E
RGBrgb(32, 69, 142)
HSLhsl(220, 63%, 34%)
HSVhsv(220, 77%, 56%)
CMYKcmyk(77.5%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.68, 14.25, -44.30)
CIE-LCHlch(30.68, 46.54, 287.84°)
OKLaboklab(40.72% -0.0176 -0.1274)
OKLCHoklch(40.72% 0.129 262.1)
XYZxyz(7.6045, 6.5155, 26.4428)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20458E #8E6920
analogous
#207C8E #20458E #32208E
triadic
#20458E #8E2045 #458E20
tetradic
#20458E #8E207C #8E6920 #208E32
square
#20458E #8E207C #8E6920 #208E32
split-complementary
#20458E #8E3220 #7C8E20
monochromatic
#09142A #152D5C #20458E #2B5DC0 #517ED8

Accessibility & contrast

On white

9.12
#20458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#20458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20458E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20458E#FFFFFF#000000##FFFFFF
##20458E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20458e;
/* rgb */ color: rgb(32, 69, 142);
/* oklch */ color: oklch(40.7% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#6c78b0',
    500: '#20458e',
    950: '#000000',
  },
}
SCSS
$custom: #20458e;
$custom-light: #6c78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20458e",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 219.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.12861,
    "h": 262.1
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#20458E
secondary
#BB974F
accent
#AF42E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20458E

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

Preview Lab → · Contrast checker → · Palette generator →

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