#20458C#20458C

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

Color values

HEX#20458C
RGBrgb(32, 69, 140)
HSLhsl(219, 63%, 34%)
HSVhsv(219, 77%, 55%)
CMYKcmyk(77.1%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.53, 13.46, -43.30)
CIE-LCHlch(30.53, 45.34, 287.26°)
OKLaboklab(40.57% -0.0179 -0.1245)
OKLCHoklch(40.57% 0.126 261.8)
XYZxyz(7.4557, 6.4559, 25.6590)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20458C #8C6720
analogous
#207B8C #20458C #31208C
triadic
#20458C #8C2045 #458C20
tetradic
#20458C #8C207B #8C6720 #208C31
square
#20458C #8C207B #8C6720 #208C31
split-complementary
#20458C #8C3120 #7B8C20
monochromatic
#091428 #152C5A #20458C #2B5EBE #507ED7

Accessibility & contrast

On white

9.16
#20458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20458C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20458C#FFFFFF#000000##FFFFFF
##20458C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20458c;
/* rgb */ color: rgb(32, 69, 140);
/* oklch */ color: oklch(40.6% 0.126 261.8);
Tailwind
colors: {
  custom: {
    50: '#6c78ae',
    500: '#20458c',
    950: '#000000',
  },
}
SCSS
$custom: #20458c;
$custom-light: #6c78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20458c",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 219.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.12574,
    "h": 261.8
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#20458C
secondary
#BA954E
accent
#AE42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #20458C

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

Preview Lab → · Contrast checker → · Palette generator →

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