#20404F#20404F

#20404F is a dark, muted cyan. Relative luminance 0.045; OKLCH L 35.4% C 0.046 H 230.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#20404F
RGBrgb(32, 64, 79)
HSLhsl(199, 42%, 22%)
HSVhsv(199, 59%, 31%)
CMYKcmyk(59.5%, 19%, 0%, 69%)
CIE-LABlab(25.38, -6.78, -12.67)
CIE-LCHlch(25.38, 14.37, 241.85°)
OKLaboklab(35.39% -0.0294 -0.0352)
OKLCHoklch(35.39% 0.046 230.2)
XYZxyz(3.8398, 4.5380, 8.0692)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20404F #4F2F20
analogous
#204F47 #20404F #20294F
triadic
#20404F #4F2040 #404F20
tetradic
#20404F #47204F #4F2F20 #294F20
square
#20404F #47204F #4F2F20 #294F20
split-complementary
#20404F #4F2029 #4F4720
monochromatic
#091216 #0E1D23 #20404F #32637B #4387A6

Accessibility & contrast

On white

11.01
#20404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#20404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20404F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20404F#FFFFFF#000000##FFFFFF
##20404F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F50
Deuteranopia (green-blind)
#323A4F
Tritanopia (blue-blind)
#014445
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20404f;
/* rgb */ color: rgb(32, 64, 79);
/* oklch */ color: oklch(35.4% 0.046 230.2);
Tailwind
colors: {
  custom: {
    50: '#607480',
    500: '#20404f',
    950: '#000000',
  },
}
SCSS
$custom: #20404f;
$custom-light: #607480;
$custom-dark: #000000;
JSON
{
  "hex": "#20404f",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 199.149,
    "s": 42.342,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.04587,
    "h": 230.2
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#20404F
secondary
#835B47
accent
#7D56D2
background
#F5F7F7
surface
#EAEDEE
border
#C6C8C9
text
#05080A
muted
#797B7C

Preview Lab

Preview with #20404F

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

Preview Lab → · Contrast checker → · Palette generator →

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