#405151#405151

#405151 is a dark, muted teal. Relative luminance 0.076; OKLCH L 42.1% C 0.021 H 196.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#405151
RGBrgb(64, 81, 81)
HSLhsl(180, 12%, 28%)
HSVhsv(180, 21%, 32%)
CMYKcmyk(21%, 0%, 0%, 68.2%)
CIE-LABlab(33.07, -6.60, -2.19)
CIE-LCHlch(33.07, 6.95, 198.41°)
OKLaboklab(42.05% -0.0204 -0.006)
OKLCHoklch(42.05% 0.021 196.4)
XYZxyz(6.5416, 7.5687, 8.8992)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405151 #514040
analogous
#405148 #405151 #404851
triadic
#405151 #514051 #515140
tetradic
#405151 #484051 #514040 #485140
square
#405151 #484051 #514040 #485140
split-complementary
#405151 #514048 #514840
monochromatic
#0E1111 #252F2F #405151 #5B7373 #779494

Accessibility & contrast

On white

8.35
#405151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#405151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405151
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405151#FFFFFF#000000##FFFFFF
##4051511.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F51
Deuteranopia (green-blind)
#4B4D51
Tritanopia (blue-blind)
#3B5251
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405151;
/* rgb */ color: rgb(64, 81, 81);
/* oklch */ color: oklch(42.1% 0.021 196.4);
Tailwind
colors: {
  custom: {
    50: '#758181',
    500: '#405151',
    950: '#000000',
  },
}
SCSS
$custom: #405151;
$custom-light: #758181;
$custom-dark: #000000;
JSON
{
  "hex": "#405151",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 11.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.02124,
    "h": 196.4
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#405151
secondary
#806D6D
accent
#7373B5
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#080A0A
muted
#7B7C7C

Preview Lab

Preview with #405151

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

Preview Lab → · Contrast checker → · Palette generator →

#405151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva