#20457D#20457D

#20457D is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.104 H 258.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#20457D
RGBrgb(32, 69, 125)
HSLhsl(216, 59%, 31%)
HSVhsv(216, 74%, 49%)
CMYKcmyk(74.4%, 44.8%, 0%, 51%)
CIE-LABlab(29.52, 7.46, -35.63)
CIE-LCHlch(29.52, 36.40, 281.82°)
OKLaboklab(39.46% -0.0205 -0.1019)
OKLCHoklch(39.46% 0.104 258.6)
XYZxyz(6.4241, 6.0433, 20.2260)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20457D #7D5820
analogous
#20737D #20457D #29207D
triadic
#20457D #7D2045 #457D20
tetradic
#20457D #7D2073 #7D5820 #207D29
square
#20457D #7D2073 #7D5820 #207D29
split-complementary
#20457D #7D2920 #737D20
monochromatic
#070F1C #142A4C #20457D #2C60AE #477ED0

Accessibility & contrast

On white

9.51
#20457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#20457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20457D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20457D#FFFFFF#000000##FFFFFF
##20457D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20457d;
/* rgb */ color: rgb(32, 69, 125);
/* oklch */ color: oklch(39.5% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#6878a3',
    500: '#20457d',
    950: '#000000',
  },
}
SCSS
$custom: #20457d;
$custom-light: #6878a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20457d",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 216.129,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.10394,
    "h": 258.6
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#20457D
secondary
#B08749
accent
#A445E2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #20457D

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

Preview Lab → · Contrast checker → · Palette generator →

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