#20406D#20406D

#20406D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.1% C 0.086 H 257.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#20406D
RGBrgb(32, 64, 109)
HSLhsl(215, 55%, 28%)
HSVhsv(215, 71%, 43%)
CMYKcmyk(70.6%, 41.3%, 0%, 57.3%)
CIE-LABlab(26.95, 4.52, -29.63)
CIE-LCHlch(26.95, 29.97, 278.68°)
OKLaboklab(37.15% -0.0191 -0.0843)
OKLCHoklch(37.15% 0.086 257.3)
XYZxyz(5.1884, 5.0775, 15.1717)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20406D #6D4D20
analogous
#20666D #20406D #26206D
triadic
#20406D #6D2040 #406D20
tetradic
#20406D #6D2066 #6D4D20 #206D26
square
#20406D #6D2066 #6D4D20 #206D26
split-complementary
#20406D #6D2620 #666D20
monochromatic
#070E18 #12243E #20406D #2E5C9C #4078C7

Accessibility & contrast

On white

10.42
#20406D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#20406D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20406D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20406D#FFFFFF#000000##FFFFFF
##20406D1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#203C6C
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20406d;
/* rgb */ color: rgb(32, 64, 109);
/* oklch */ color: oklch(37.1% 0.086 257.3);
Tailwind
colors: {
  custom: {
    50: '#657497',
    500: '#20406d',
    950: '#000000',
  },
}
SCSS
$custom: #20406d;
$custom-light: #657497;
$custom-dark: #000000;
JSON
{
  "hex": "#20406d",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 215.065,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.08648,
    "h": 257.3
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#20406D
secondary
#A17C48
accent
#A04ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #20406D

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

Preview Lab → · Contrast checker → · Palette generator →

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