#40525E#40525E

#40525E is a dark, muted cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.030 H 237.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#40525E
RGBrgb(64, 82, 94)
HSLhsl(204, 19%, 31%)
HSVhsv(204, 32%, 37%)
CMYKcmyk(31.9%, 12.8%, 0%, 63.1%)
CIE-LABlab(33.84, -3.75, -9.26)
CIE-LCHlch(33.84, 9.99, 247.95°)
OKLaboklab(42.81% -0.0161 -0.0253)
OKLCHoklch(42.81% 0.03 237.6)
XYZxyz(7.1514, 7.9324, 11.7418)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40525E #5E4C40
analogous
#405E5B #40525E #40435E
triadic
#40525E #5E4052 #525E40
tetradic
#40525E #5B405E #5E4C40 #435E40
square
#40525E #5B405E #5E4C40 #435E40
split-complementary
#40525E #5E4043 #5E5B40
monochromatic
#0E1215 #27323A #40525E #597282 #7691A2

Accessibility & contrast

On white

8.12
#40525E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#40525E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40525E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40525E#FFFFFF#000000##FFFFFF
##40525E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515F
Deuteranopia (green-blind)
#494E5E
Tritanopia (blue-blind)
#375556
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #40525e;
/* rgb */ color: rgb(64, 82, 94);
/* oklch */ color: oklch(42.8% 0.030 237.6);
Tailwind
colors: {
  custom: {
    50: '#75828b',
    500: '#40525e',
    950: '#000000',
  },
}
SCSS
$custom: #40525e;
$custom-light: #75828b;
$custom-dark: #000000;
JSON
{
  "hex": "#40525e",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 94
  },
  "hsl": {
    "h": 204,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.03002,
    "h": 237.6
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#40525E
secondary
#8D7A6C
accent
#8C6CBC
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #40525E

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

Preview Lab → · Contrast checker → · Palette generator →

#40525E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva