#20458B#20458B

#20458B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.124 H 261.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#20458B
RGBrgb(32, 69, 139)
HSLhsl(219, 63%, 34%)
HSVhsv(219, 77%, 55%)
CMYKcmyk(77%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.46, 13.05, -42.80)
CIE-LCHlch(30.46, 44.75, 286.96°)
OKLaboklab(40.49% -0.018 -0.123)
OKLCHoklch(40.49% 0.124 261.7)
XYZxyz(7.3823, 6.4266, 25.2725)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20458B #8B6620
analogous
#207A8B #20458B #30208B
triadic
#20458B #8B2045 #458B20
tetradic
#20458B #8B207A #8B6620 #208B30
square
#20458B #8B207A #8B6620 #208B30
split-complementary
#20458B #8B3020 #7A8B20
monochromatic
#091428 #152C59 #20458B #2B5EBD #4F7ED6

Accessibility & contrast

On white

9.19
#20458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#20458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20458B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20458B#FFFFFF#000000##FFFFFF
##20458B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20458b;
/* rgb */ color: rgb(32, 69, 139);
/* oklch */ color: oklch(40.5% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c78ad',
    500: '#20458b',
    950: '#000000',
  },
}
SCSS
$custom: #20458b;
$custom-light: #6c78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20458b",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 219.252,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.12429,
    "h": 261.7
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#20458B
secondary
#BA944D
accent
#AD42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #20458B

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

Preview Lab → · Contrast checker → · Palette generator →

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