#404764#404764

#404764 is a dark, muted blue. Relative luminance 0.065; OKLCH L 40.4% C 0.050 H 273.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#404764
RGBrgb(64, 71, 100)
HSLhsl(228, 22%, 32%)
HSVhsv(228, 36%, 39%)
CMYKcmyk(36%, 29%, 0%, 60.8%)
CIE-LABlab(30.68, 5.00, -17.90)
CIE-LCHlch(30.68, 18.59, 285.62°)
OKLaboklab(40.42% 0.0031 -0.0497)
OKLCHoklch(40.42% 0.05 273.5)
XYZxyz(6.6672, 6.5163, 12.9606)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404764 #645D40
analogous
#405964 #404764 #4B4064
triadic
#404764 #644047 #476440
tetradic
#404764 #644059 #645D40 #40644B
square
#404764 #644059 #645D40 #40644B
split-complementary
#404764 #644B40 #596440
monochromatic
#101219 #282D3F #404764 #586189 #7780A8

Accessibility & contrast

On white

9.12
#404764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#404764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404764
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404764#FFFFFF#000000##FFFFFF
##4047641.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4A65
Deuteranopia (green-blind)
#3B4763
Tritanopia (blue-blind)
#364D51
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404764;
/* rgb */ color: rgb(64, 71, 100);
/* oklch */ color: oklch(40.4% 0.050 273.5);
Tailwind
colors: {
  custom: {
    50: '#767a90',
    500: '#404764',
    950: '#000000',
  },
}
SCSS
$custom: #404764;
$custom-light: #767a90;
$custom-dark: #000000;
JSON
{
  "hex": "#404764",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 100
  },
  "hsl": {
    "h": 228.333,
    "s": 21.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.04977,
    "h": 273.5
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#404764
secondary
#938C6C
accent
#AE69BE
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #404764

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

Preview Lab → · Contrast checker → · Palette generator →

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