#20457E#20457E

#20457E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.105 H 258.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#20457E
RGBrgb(32, 69, 126)
HSLhsl(216, 59%, 31%)
HSVhsv(216, 75%, 49%)
CMYKcmyk(74.6%, 45.2%, 0%, 50.6%)
CIE-LABlab(29.59, 7.86, -36.15)
CIE-LCHlch(29.59, 37.00, 282.26°)
OKLaboklab(39.53% -0.0203 -0.1034)
OKLCHoklch(39.53% 0.105 258.9)
XYZxyz(6.4883, 6.0690, 20.5641)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20457E #7E5920
analogous
#20747E #20457E #2A207E
triadic
#20457E #7E2045 #457E20
tetradic
#20457E #7E2074 #7E5920 #207E2A
square
#20457E #7E2074 #7E5920 #207E2A
split-complementary
#20457E #7E2A20 #747E20
monochromatic
#07101C #142A4D #20457E #2C60AF #487ED0

Accessibility & contrast

On white

9.49
#20457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20457E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20457E#FFFFFF#000000##FFFFFF
##20457E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20457e;
/* rgb */ color: rgb(32, 69, 126);
/* oklch */ color: oklch(39.5% 0.105 258.9);
Tailwind
colors: {
  custom: {
    50: '#6978a4',
    500: '#20457e',
    950: '#000000',
  },
}
SCSS
$custom: #20457e;
$custom-light: #6978a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20457e",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 216.383,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.1054,
    "h": 258.9
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#20457E
secondary
#B18849
accent
#A545E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #20457E

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

Preview Lab → · Contrast checker → · Palette generator →

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