#404F66#404F66

#404F66 is a dark, muted blue. Relative luminance 0.076; OKLCH L 42.4% C 0.043 H 258.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#404F66
RGBrgb(64, 79, 102)
HSLhsl(216, 23%, 33%)
HSVhsv(216, 37%, 40%)
CMYKcmyk(37.3%, 22.5%, 0%, 60%)
CIE-LABlab(33.22, 0.44, -15.25)
CIE-LCHlch(33.22, 15.25, 271.66°)
OKLaboklab(42.43% -0.0083 -0.0421)
OKLCHoklch(42.43% 0.043 258.8)
XYZxyz(7.3079, 7.6409, 13.6576)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F66 #665740
analogous
#406266 #404F66 #444066
triadic
#404F66 #66404F #4F6640
tetradic
#404F66 #664062 #665740 #406644
square
#404F66 #664062 #665740 #406644
split-complementary
#404F66 #664440 #626640
monochromatic
#11151B #283240 #404F66 #586C8C #778BAA

Accessibility & contrast

On white

8.31
#404F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#404F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F66
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F66#FFFFFF#000000##FFFFFF
##404F661.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475067
Deuteranopia (green-blind)
#434D65
Tritanopia (blue-blind)
#345457
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #404f66;
/* rgb */ color: rgb(64, 79, 102);
/* oklch */ color: oklch(42.4% 0.043 258.8);
Tailwind
colors: {
  custom: {
    50: '#768091',
    500: '#404f66',
    950: '#000000',
  },
}
SCSS
$custom: #404f66;
$custom-light: #768091;
$custom-dark: #000000;
JSON
{
  "hex": "#404f66",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 102
  },
  "hsl": {
    "h": 216.316,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.04296,
    "h": 258.8
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#404F66
secondary
#95856D
accent
#9D68BF
background
#F7F7F8
surface
#EDEEF0
border
#C8C9CB
text
#080A0C
muted
#7B7C7D

Preview Lab

Preview with #404F66

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

Preview Lab → · Contrast checker → · Palette generator →

#404F66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva