#20405B#20405B

#20405B is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.0% C 0.060 H 246.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#20405B
RGBrgb(32, 64, 91)
HSLhsl(207, 48%, 24%)
HSVhsv(207, 65%, 36%)
CMYKcmyk(64.8%, 29.7%, 0%, 64.3%)
CIE-LABlab(25.95, -2.42, -19.63)
CIE-LCHlch(25.95, 19.77, 262.98°)
OKLaboklab(36.03% -0.0246 -0.0552)
OKLCHoklch(36.03% 0.06 246)
XYZxyz(4.3167, 4.7288, 10.5808)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20405B #5B3B20
analogous
#205B59 #20405B #20235B
triadic
#20405B #5B2040 #405B20
tetradic
#20405B #59205B #5B3B20 #235B20
square
#20405B #59205B #5B3B20 #235B20
split-complementary
#20405B #5B2023 #5B5920
monochromatic
#081017 #10202E #20405B #306088 #4080B6

Accessibility & contrast

On white

10.79
#20405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#20405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20405B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20405B#FFFFFF#000000##FFFFFF
##20405B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415C
Deuteranopia (green-blind)
#2C3B5A
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20405b;
/* rgb */ color: rgb(32, 64, 91);
/* oklch */ color: oklch(36.0% 0.060 246.0);
Tailwind
colors: {
  custom: {
    50: '#627489',
    500: '#20405b',
    950: '#000000',
  },
}
SCSS
$custom: #20405b;
$custom-light: #627489;
$custom-dark: #000000;
JSON
{
  "hex": "#20405b",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 207.458,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3603,
    "c": 0.06043,
    "h": 246
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#20405B
secondary
#8F6847
accent
#8E50D8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080B
muted
#7A7B7C

Preview Lab

Preview with #20405B

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

Preview Lab → · Contrast checker → · Palette generator →

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