#20467F#20467F

#20467F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.106 H 258.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#20467F
RGBrgb(32, 70, 127)
HSLhsl(216, 60%, 31%)
HSVhsv(216, 75%, 50%)
CMYKcmyk(74.8%, 44.9%, 0%, 50.2%)
CIE-LABlab(29.96, 7.57, -36.18)
CIE-LCHlch(29.96, 36.96, 281.82°)
OKLaboklab(39.84% -0.0211 -0.1035)
OKLCHoklch(39.84% 0.106 258.5)
XYZxyz(6.6152, 6.2190, 20.9263)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20467F #7F5920
analogous
#20757F #20467F #29207F
triadic
#20467F #7F2046 #467F20
tetradic
#20467F #7F2075 #7F5920 #207F29
square
#20467F #7F2075 #7F5920 #207F29
split-complementary
#20467F #7F2920 #757F20
monochromatic
#07101D #142B4E #20467F #2C61B0 #487FD1

Accessibility & contrast

On white

9.36
#20467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#20467F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20467F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20467F#FFFFFF#000000##FFFFFF
##20467F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#19427E
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20467f;
/* rgb */ color: rgb(32, 70, 127);
/* oklch */ color: oklch(39.8% 0.106 258.5);
Tailwind
colors: {
  custom: {
    50: '#6979a4',
    500: '#20467f',
    950: '#000000',
  },
}
SCSS
$custom: #20467f;
$custom-light: #6979a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20467f",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 216,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.10561,
    "h": 258.5
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#20467F
secondary
#B28849
accent
#A445E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20467F

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

Preview Lab → · Contrast checker → · Palette generator →

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