#404366#404366

#404366 is a dark, muted blue. Relative luminance 0.061; OKLCH L 39.6% C 0.059 H 279.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#404366
RGBrgb(64, 67, 102)
HSLhsl(235, 23%, 33%)
HSVhsv(235, 37%, 40%)
CMYKcmyk(37.3%, 34.3%, 0%, 60%)
CIE-LABlab(29.57, 8.24, -20.90)
CIE-LCHlch(29.57, 22.46, 291.52°)
OKLaboklab(39.59% 0.0098 -0.0583)
OKLCHoklch(39.59% 0.059 279.6)
XYZxyz(6.5191, 6.0634, 13.3947)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404366 #666340
analogous
#405666 #404366 #504066
triadic
#404366 #664043 #436640
tetradic
#404366 #664056 #666340 #406650
square
#404366 #664056 #666340 #406650
split-complementary
#404366 #665040 #566640
monochromatic
#11121B #282A40 #404366 #585C8C #777BAA

Accessibility & contrast

On white

9.49
#404366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#404366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404366
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404366#FFFFFF#000000##FFFFFF
##4043661.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#364465
Tritanopia (blue-blind)
#364A50
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404366;
/* rgb */ color: rgb(64, 67, 102);
/* oklch */ color: oklch(39.6% 0.059 279.6);
Tailwind
colors: {
  custom: {
    50: '#767792',
    500: '#404366',
    950: '#000000',
  },
}
SCSS
$custom: #404366;
$custom-light: #767792;
$custom-dark: #000000;
JSON
{
  "hex": "#404366",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 235.263,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.05911,
    "h": 279.6
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#404366
secondary
#95926D
accent
#B968BF
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080D
muted
#7B7B7D

Preview Lab

Preview with #404366

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

Preview Lab → · Contrast checker → · Palette generator →

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