#405159#405159

#405159 is a dark, muted cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.025 H 228.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#405159
RGBrgb(64, 81, 89)
HSLhsl(199, 16%, 30%)
HSVhsv(199, 28%, 35%)
CMYKcmyk(28.1%, 9%, 0%, 65.1%)
CIE-LABlab(33.34, -4.51, -6.86)
CIE-LCHlch(33.34, 8.21, 236.68°)
OKLaboklab(42.36% -0.0167 -0.0187)
OKLCHoklch(42.36% 0.025 228.2)
XYZxyz(6.8594, 7.6958, 10.5733)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405159 #594840
analogous
#405955 #405159 #404459
triadic
#405159 #594051 #515940
tetradic
#405159 #554059 #594840 #445940
square
#405159 #554059 #594840 #445940
split-complementary
#405159 #594044 #595540
monochromatic
#0D1012 #263135 #405159 #5A717D #77919D

Accessibility & contrast

On white

8.27
#405159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#405159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405159
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405159#FFFFFF#000000##FFFFFF
##4051591.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#494D59
Tritanopia (blue-blind)
#385353
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405159;
/* rgb */ color: rgb(64, 81, 89);
/* oklch */ color: oklch(42.4% 0.025 228.2);
Tailwind
colors: {
  custom: {
    50: '#758187',
    500: '#405159',
    950: '#000000',
  },
}
SCSS
$custom: #405159;
$custom-light: #758187;
$custom-dark: #000000;
JSON
{
  "hex": "#405159",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 89
  },
  "hsl": {
    "h": 199.2,
    "s": 16.34,
    "l": 30
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.02507,
    "h": 228.2
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#405159
secondary
#88756C
accent
#876FB9
background
#F7F7F8
surface
#EDEEEF
border
#C8C9CA
text
#080A0B
muted
#7B7C7C

Preview Lab

Preview with #405159

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

Preview Lab → · Contrast checker → · Palette generator →

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