#20458A#20458A

#20458A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.123 H 261.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#20458A
RGBrgb(32, 69, 138)
HSLhsl(219, 62%, 33%)
HSVhsv(219, 77%, 54%)
CMYKcmyk(76.8%, 50%, 0%, 45.9%)
CIE-LABlab(30.39, 12.65, -42.30)
CIE-LCHlch(30.39, 44.15, 286.66°)
OKLaboklab(40.41% -0.0182 -0.1215)
OKLCHoklch(40.41% 0.123 261.5)
XYZxyz(7.3096, 6.3975, 24.8894)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20458A #8A6520
analogous
#207A8A #20458A #30208A
triadic
#20458A #8A2045 #458A20
tetradic
#20458A #8A207A #8A6520 #208A30
square
#20458A #8A207A #8A6520 #208A30
split-complementary
#20458A #8A3020 #7A8A20
monochromatic
#091327 #142C58 #20458A #2C5EBC #4E7ED6

Accessibility & contrast

On white

9.21
#20458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#20458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20458A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20458A#FFFFFF#000000##FFFFFF
##20458A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20458a;
/* rgb */ color: rgb(32, 69, 138);
/* oklch */ color: oklch(40.4% 0.123 261.5);
Tailwind
colors: {
  custom: {
    50: '#6b78ad',
    500: '#20458a',
    950: '#000000',
  },
}
SCSS
$custom: #20458a;
$custom-light: #6b78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20458a",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 219.057,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.12285,
    "h": 261.5
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#20458A
secondary
#B9934D
accent
#AD42E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #20458A

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

Preview Lab → · Contrast checker → · Palette generator →

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