#20405E#20405E

#20405E is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.065 H 248.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#20405E
RGBrgb(32, 64, 94)
HSLhsl(209, 49%, 25%)
HSVhsv(209, 66%, 37%)
CMYKcmyk(66%, 31.9%, 0%, 63.1%)
CIE-LABlab(26.10, -1.29, -21.33)
CIE-LCHlch(26.10, 21.37, 266.54°)
OKLaboklab(36.2% -0.0235 -0.0601)
OKLCHoklch(36.2% 0.065 248.6)
XYZxyz(4.4487, 4.7816, 11.2760)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20405E #5E3E20
analogous
#205E5D #20405E #20215E
triadic
#20405E #5E2040 #405E20
tetradic
#20405E #5D205E #5E3E20 #215E20
square
#20405E #5D205E #5E3E20 #215E20
split-complementary
#20405E #5E2021 #5E5D20
monochromatic
#081017 #102130 #20405E #305F8C #3F7EB9

Accessibility & contrast

On white

10.73
#20405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#20405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20405E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20405E#FFFFFF#000000##FFFFFF
##20405E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#2B3B5D
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20405e;
/* rgb */ color: rgb(32, 64, 94);
/* oklch */ color: oklch(36.2% 0.065 248.6);
Tailwind
colors: {
  custom: {
    50: '#62748c',
    500: '#20405e',
    950: '#000000',
  },
}
SCSS
$custom: #20405e;
$custom-light: #62748c;
$custom-dark: #000000;
JSON
{
  "hex": "#20405e",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 209.032,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.06457,
    "h": 248.6
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#20405E
secondary
#926C47
accent
#924FD9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #20405E

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

Preview Lab → · Contrast checker → · Palette generator →

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