#20458D#20458D

#20458D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.127 H 262.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#20458D
RGBrgb(32, 69, 141)
HSLhsl(220, 63%, 34%)
HSVhsv(220, 77%, 55%)
CMYKcmyk(77.3%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.61, 13.85, -43.80)
CIE-LCHlch(30.61, 45.94, 287.55°)
OKLaboklab(40.64% -0.0177 -0.1259)
OKLCHoklch(40.64% 0.127 262)
XYZxyz(7.5298, 6.4856, 26.0491)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20458D #8D6820
analogous
#207C8D #20458D #32208D
triadic
#20458D #8D2045 #458D20
tetradic
#20458D #8D207C #8D6820 #208D32
square
#20458D #8D207C #8D6820 #208D32
split-complementary
#20458D #8D3220 #7C8D20
monochromatic
#091429 #152D5B #20458D #2B5DBF #507ED7

Accessibility & contrast

On white

9.14
#20458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20458D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20458D#FFFFFF#000000##FFFFFF
##20458D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20458d;
/* rgb */ color: rgb(32, 69, 141);
/* oklch */ color: oklch(40.6% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#6c78af',
    500: '#20458d',
    950: '#000000',
  },
}
SCSS
$custom: #20458d;
$custom-light: #6c78af;
$custom-dark: #000000;
JSON
{
  "hex": "#20458d",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 219.633,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.12717,
    "h": 262
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#20458D
secondary
#BA964E
accent
#AE42E6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #20458D

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

Preview Lab → · Contrast checker → · Palette generator →

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