#20457F#20457F

#20457F is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.107 H 259.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#20457F
RGBrgb(32, 69, 127)
HSLhsl(217, 60%, 31%)
HSVhsv(217, 75%, 50%)
CMYKcmyk(74.8%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.65, 8.26, -36.67)
CIE-LCHlch(29.65, 37.59, 282.69°)
OKLaboklab(39.6% -0.0201 -0.1049)
OKLCHoklch(39.6% 0.107 259.1)
XYZxyz(6.5532, 6.0949, 20.9056)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20457F #7F5A20
analogous
#20747F #20457F #2B207F
triadic
#20457F #7F2045 #457F20
tetradic
#20457F #7F2074 #7F5A20 #207F2B
square
#20457F #7F2074 #7F5A20 #207F2B
split-complementary
#20457F #7F2B20 #747F20
monochromatic
#07101D #142A4E #20457F #2C60B0 #487ED1

Accessibility & contrast

On white

9.46
#20457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#20457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20457F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20457F#FFFFFF#000000##FFFFFF
##20457F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#16427E
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20457f;
/* rgb */ color: rgb(32, 69, 127);
/* oklch */ color: oklch(39.6% 0.107 259.1);
Tailwind
colors: {
  custom: {
    50: '#6978a4',
    500: '#20457f',
    950: '#000000',
  },
}
SCSS
$custom: #20457f;
$custom-light: #6978a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20457f",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 216.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.10686,
    "h": 259.1
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#20457F
secondary
#B28949
accent
#A545E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #20457F

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

Preview Lab → · Contrast checker → · Palette generator →

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