#20405F#20405F

#20405F is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.3% C 0.066 H 249.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#20405F
RGBrgb(32, 64, 95)
HSLhsl(210, 50%, 25%)
HSVhsv(210, 66%, 37%)
CMYKcmyk(66.3%, 32.6%, 0%, 62.7%)
CIE-LABlab(26.16, -0.91, -21.89)
CIE-LCHlch(26.16, 21.91, 267.62°)
OKLaboklab(36.26% -0.0232 -0.0618)
OKLCHoklch(36.26% 0.066 249.4)
XYZxyz(4.4939, 4.7997, 11.5139)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20405F #5F3F20
analogous
#205F5F #20405F #20215F
triadic
#20405F #5F2040 #405F20
tetradic
#20405F #5F205F #5F3F20 #215F20
square
#20405F #5F205F #5F3F20 #215F20
split-complementary
#20405F #5F2021 #5F5F20
monochromatic
#080F17 #112131 #20405F #2F5F8D #3F7EBB

Accessibility & contrast

On white

10.71
#20405F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20405F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20405F#FFFFFF#000000##FFFFFF
##20405F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20405f;
/* rgb */ color: rgb(32, 64, 95);
/* oklch */ color: oklch(36.3% 0.066 249.4);
Tailwind
colors: {
  custom: {
    50: '#62748c',
    500: '#20405f',
    950: '#000000',
  },
}
SCSS
$custom: #20405f;
$custom-light: #62748c;
$custom-dark: #000000;
JSON
{
  "hex": "#20405f",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 209.524,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36262,
    "c": 0.06598,
    "h": 249.4
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#20405F
secondary
#936D47
accent
#934FD9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #20405F

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

Preview Lab → · Contrast checker → · Palette generator →

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