#405166#405166

#405166 is a dark, muted cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.041 H 254.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#405166
RGBrgb(64, 81, 102)
HSLhsl(213, 23%, 33%)
HSVhsv(213, 37%, 40%)
CMYKcmyk(37.3%, 20.6%, 0%, 60%)
CIE-LABlab(33.84, -0.82, -14.30)
CIE-LCHlch(33.84, 14.32, 266.70°)
OKLaboklab(42.92% -0.0113 -0.0394)
OKLCHoklch(42.92% 0.041 254)
XYZxyz(7.4543, 7.9338, 13.7064)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405166 #665540
analogous
#406466 #405166 #424066
triadic
#405166 #664051 #516640
tetradic
#405166 #664064 #665540 #406642
square
#405166 #664064 #665540 #406642
split-complementary
#405166 #664240 #646640
monochromatic
#11151B #283340 #405166 #586F8C #778EAA

Accessibility & contrast

On white

8.12
#405166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#405166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##405166#FFFFFF#000000##FFFFFF
##4051661.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)
#495267
Deuteranopia (green-blind)
#454E66
Tritanopia (blue-blind)
#345658
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #405166;
/* rgb */ color: rgb(64, 81, 102);
/* oklch */ color: oklch(42.9% 0.041 254.0);
Tailwind
colors: {
  custom: {
    50: '#768191',
    500: '#405166',
    950: '#000000',
  },
}
SCSS
$custom: #405166;
$custom-light: #768191;
$custom-dark: #000000;
JSON
{
  "hex": "#405166",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 213.158,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.04104,
    "h": 254
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#405166
secondary
#95836D
accent
#9868BF
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #405166

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

Preview Lab → · Contrast checker → · Palette generator →

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