#404660#404660

#404660 is a dark, muted blue. Relative luminance 0.063; OKLCH L 40.0% C 0.045 H 274.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#404660
RGBrgb(64, 70, 96)
HSLhsl(229, 20%, 31%)
HSVhsv(229, 33%, 38%)
CMYKcmyk(33.3%, 27.1%, 0%, 62.4%)
CIE-LABlab(30.19, 4.47, -16.10)
CIE-LCHlch(30.19, 16.71, 285.52°)
OKLaboklab(39.98% 0.0033 -0.0445)
OKLCHoklch(39.98% 0.045 274.2)
XYZxyz(6.4152, 6.3146, 11.9449)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404660 #605A40
analogous
#405660 #404660 #4A4060
triadic
#404660 #604046 #466040
tetradic
#404660 #604056 #605A40 #40604A
square
#404660 #604056 #605A40 #40604A
split-complementary
#404660 #604A40 #566040
monochromatic
#0F1017 #282B3B #404660 #586185 #767FA4

Accessibility & contrast

On white

9.28
#404660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#404660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404660
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404660#FFFFFF#000000##FFFFFF
##4046601.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4861
Deuteranopia (green-blind)
#3C465F
Tritanopia (blue-blind)
#374B4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404660;
/* rgb */ color: rgb(64, 70, 96);
/* oklch */ color: oklch(40.0% 0.045 274.2);
Tailwind
colors: {
  custom: {
    50: '#76798d',
    500: '#404660',
    950: '#000000',
  },
}
SCSS
$custom: #404660;
$custom-light: #76798d;
$custom-dark: #000000;
JSON
{
  "hex": "#404660",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 96
  },
  "hsl": {
    "h": 228.75,
    "s": 20,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.04466,
    "h": 274.2
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#404660
secondary
#90896C
accent
#AD6BBD
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #404660

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

Preview Lab → · Contrast checker → · Palette generator →

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