#20458F#20458F

#20458F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.130 H 262.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#20458F
RGBrgb(32, 69, 143)
HSLhsl(220, 63%, 34%)
HSVhsv(220, 78%, 56%)
CMYKcmyk(77.6%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.75, 14.65, -44.80)
CIE-LCHlch(30.75, 47.14, 288.11°)
OKLaboklab(40.8% -0.0175 -0.1289)
OKLCHoklch(40.8% 0.13 262.3)
XYZxyz(7.6799, 6.5456, 26.8399)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20458F #8F6A20
analogous
#207D8F #20458F #33208F
triadic
#20458F #8F2045 #458F20
tetradic
#20458F #8F207D #8F6A20 #208F33
square
#20458F #8F207D #8F6A20 #208F33
split-complementary
#20458F #8F3320 #7D8F20
monochromatic
#0A152B #152D5D #20458F #2B5DC1 #517ED8

Accessibility & contrast

On white

9.09
#20458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#20458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20458F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20458F#FFFFFF#000000##FFFFFF
##20458F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20458f;
/* rgb */ color: rgb(32, 69, 143);
/* oklch */ color: oklch(40.8% 0.130 262.3);
Tailwind
colors: {
  custom: {
    50: '#6d78b0',
    500: '#20458f',
    950: '#000000',
  },
}
SCSS
$custom: #20458f;
$custom-light: #6d78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20458f",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 220,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.13004,
    "h": 262.3
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20458F

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

Preview Lab → · Contrast checker → · Palette generator →

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