#405152#405152

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

Color values

HEX#405152
RGBrgb(64, 81, 82)
HSLhsl(183, 12%, 29%)
HSVhsv(183, 22%, 32%)
CMYKcmyk(22%, 1.2%, 0%, 67.8%)
CIE-LABlab(33.10, -6.34, -2.78)
CIE-LCHlch(33.10, 6.93, 203.67°)
OKLaboklab(42.09% -0.0199 -0.0076)
OKLCHoklch(42.09% 0.021 200.8)
XYZxyz(6.5793, 7.5838, 9.0982)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405152 #524140
analogous
#40524A #405152 #404852
triadic
#405152 #524051 #515240
tetradic
#405152 #4A4052 #524140 #485240
square
#405152 #4A4052 #524140 #485240
split-complementary
#405152 #524048 #524A40
monochromatic
#0D1111 #252F30 #405152 #5B7374 #779395

Accessibility & contrast

On white

8.34
#405152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#405152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405152
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405152#FFFFFF#000000##FFFFFF
##4051521.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#4B4D52
Tritanopia (blue-blind)
#3A5251
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405152;
/* rgb */ color: rgb(64, 81, 82);
/* oklch */ color: oklch(42.1% 0.021 200.8);
Tailwind
colors: {
  custom: {
    50: '#758182',
    500: '#405152',
    950: '#000000',
  },
}
SCSS
$custom: #405152;
$custom-light: #758182;
$custom-dark: #000000;
JSON
{
  "hex": "#405152",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 183.333,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42088,
    "c": 0.0213,
    "h": 200.8
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#405152
secondary
#816E6D
accent
#7673B5
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#080A0A
muted
#7B7C7C

Preview Lab

Preview with #405152

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

Preview Lab → · Contrast checker → · Palette generator →

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