#20406C#20406C

#20406C is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.085 H 256.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#20406C
RGBrgb(32, 64, 108)
HSLhsl(215, 54%, 27%)
HSVhsv(215, 70%, 42%)
CMYKcmyk(70.4%, 40.7%, 0%, 57.6%)
CIE-LABlab(26.89, 4.13, -29.08)
CIE-LCHlch(26.89, 29.38, 278.08°)
OKLaboklab(37.08% -0.0193 -0.0828)
OKLCHoklch(37.08% 0.085 256.9)
XYZxyz(5.1349, 5.0561, 14.8898)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20406C #6C4C20
analogous
#20666C #20406C #26206C
triadic
#20406C #6C2040 #406C20
tetradic
#20406C #6C2066 #6C4C20 #206C26
square
#20406C #6C2066 #6C4C20 #206C26
split-complementary
#20406C #6C2620 #666C20
monochromatic
#070E18 #12243D #20406C #2E5C9B #4079C6

Accessibility & contrast

On white

10.44
#20406C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#20406C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20406C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20406C#FFFFFF#000000##FFFFFF
##20406C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#213C6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20406c;
/* rgb */ color: rgb(32, 64, 108);
/* oklch */ color: oklch(37.1% 0.085 256.9);
Tailwind
colors: {
  custom: {
    50: '#657496',
    500: '#20406c',
    950: '#000000',
  },
}
SCSS
$custom: #20406c;
$custom-light: #657496;
$custom-dark: #000000;
JSON
{
  "hex": "#20406c",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 214.737,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.08499,
    "h": 256.9
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20406C

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

Preview Lab → · Contrast checker → · Palette generator →

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