#404264#404264

#404264 is a dark, muted blue. Relative luminance 0.059; OKLCH L 39.3% C 0.057 H 280.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#404264
RGBrgb(64, 66, 100)
HSLhsl(237, 22%, 32%)
HSVhsv(237, 36%, 39%)
CMYKcmyk(36%, 34%, 0%, 60.8%)
CIE-LABlab(29.17, 8.30, -20.24)
CIE-LCHlch(29.17, 21.87, 292.29°)
OKLaboklab(39.26% 0.0108 -0.0564)
OKLCHoklch(39.26% 0.057 280.8)
XYZxyz(6.3622, 5.9063, 12.8589)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404264 #646240
analogous
#405464 #404264 #504064
triadic
#404264 #644042 #426440
tetradic
#404264 #644054 #646240 #406450
square
#404264 #644054 #646240 #406450
split-complementary
#404264 #645040 #546440
monochromatic
#101119 #28293F #404264 #585B89 #7779A8

Accessibility & contrast

On white

9.63
#404264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#404264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404264
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404264#FFFFFF#000000##FFFFFF
##4042641.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#364463
Tritanopia (blue-blind)
#36484E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404264;
/* rgb */ color: rgb(64, 66, 100);
/* oklch */ color: oklch(39.3% 0.057 280.8);
Tailwind
colors: {
  custom: {
    50: '#767690',
    500: '#404264',
    950: '#000000',
  },
}
SCSS
$custom: #404264;
$custom-light: #767690;
$custom-dark: #000000;
JSON
{
  "hex": "#404264",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 100
  },
  "hsl": {
    "h": 236.667,
    "s": 21.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.0574,
    "h": 280.8
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#404264
secondary
#93916C
accent
#BA69BE
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #404264

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

Preview Lab → · Contrast checker → · Palette generator →

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