#404666#404666

#404666 is a dark, muted blue. Relative luminance 0.064; OKLCH L 40.3% C 0.055 H 275.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#404666
RGBrgb(64, 70, 102)
HSLhsl(231, 23%, 33%)
HSVhsv(231, 37%, 40%)
CMYKcmyk(37.3%, 31.4%, 0%, 60%)
CIE-LABlab(30.47, 6.26, -19.50)
CIE-LCHlch(30.47, 20.48, 287.80°)
OKLaboklab(40.29% 0.0053 -0.0543)
OKLCHoklch(40.29% 0.055 275.5)
XYZxyz(6.7021, 6.4294, 13.4557)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404666 #666040
analogous
#405966 #404666 #4D4066
triadic
#404666 #664046 #466640
tetradic
#404666 #664059 #666040 #40664D
square
#404666 #664059 #666040 #40664D
split-complementary
#404666 #664D40 #596640
monochromatic
#11121B #282C40 #404666 #58608C #777FAA

Accessibility & contrast

On white

9.19
#404666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#404666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404666
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404666#FFFFFF#000000##FFFFFF
##4046661.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4967
Deuteranopia (green-blind)
#394665
Tritanopia (blue-blind)
#354C51
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404666;
/* rgb */ color: rgb(64, 70, 102);
/* oklch */ color: oklch(40.3% 0.055 275.5);
Tailwind
colors: {
  custom: {
    50: '#767991',
    500: '#404666',
    950: '#000000',
  },
}
SCSS
$custom: #404666;
$custom-light: #767991;
$custom-dark: #000000;
JSON
{
  "hex": "#404666",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 102
  },
  "hsl": {
    "h": 230.526,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.05451,
    "h": 275.5
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#404666
secondary
#958F6D
accent
#B268BF
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090D
muted
#7B7B7D

Preview Lab

Preview with #404666

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

Preview Lab → · Contrast checker → · Palette generator →

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