#20467E#20467E

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

Color values

HEX#20467E
RGBrgb(32, 70, 126)
HSLhsl(216, 59%, 31%)
HSVhsv(216, 75%, 49%)
CMYKcmyk(74.6%, 44.4%, 0%, 50.6%)
CIE-LABlab(29.89, 7.18, -35.66)
CIE-LCHlch(29.89, 36.37, 281.38°)
OKLaboklab(39.77% -0.0213 -0.1019)
OKLCHoklch(39.77% 0.104 258.2)
XYZxyz(6.5503, 6.1930, 20.5848)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20467E #7E5820
analogous
#20757E #20467E #29207E
triadic
#20467E #7E2046 #467E20
tetradic
#20467E #7E2075 #7E5820 #207E29
square
#20467E #7E2075 #7E5820 #207E29
split-complementary
#20467E #7E2920 #757E20
monochromatic
#07101C #142B4D #20467E #2C61AF #487FD0

Accessibility & contrast

On white

9.38
#20467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20467E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20467E#FFFFFF#000000##FFFFFF
##20467E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20467e;
/* rgb */ color: rgb(32, 70, 126);
/* oklch */ color: oklch(39.8% 0.104 258.2);
Tailwind
colors: {
  custom: {
    50: '#6979a4',
    500: '#20467e',
    950: '#000000',
  },
}
SCSS
$custom: #20467e;
$custom-light: #6979a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20467e",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 215.745,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.10416,
    "h": 258.2
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#20467E
secondary
#B18749
accent
#A345E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20467E

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

Preview Lab → · Contrast checker → · Palette generator →

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