#403E4E#403E4E

#403E4E is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.2% C 0.027 H 290.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#403E4E
RGBrgb(64, 62, 78)
HSLhsl(248, 11%, 27%)
HSVhsv(248, 21%, 31%)
CMYKcmyk(17.9%, 20.5%, 0%, 69.4%)
CIE-LABlab(26.98, 4.71, -9.37)
CIE-LCHlch(26.98, 10.49, 296.72°)
OKLaboklab(37.23% 0.0097 -0.0255)
OKLCHoklch(37.23% 0.027 290.7)
XYZxyz(5.2118, 5.0852, 7.9132)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E4E #4C4E3E
analogous
#3E444E #403E4E #483E4E
triadic
#403E4E #4E403E #3E4E40
tetradic
#403E4E #4E3E44 #4C4E3E #3E4E48
square
#403E4E #4E3E44 #4C4E3E #3E4E48
split-complementary
#403E4E #4E483E #444E3E
monochromatic
#0E0E11 #24232C #403E4E #5C5970 #797591

Accessibility & contrast

On white

10.41
#403E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#403E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E4E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E4E#FFFFFF#000000##FFFFFF
##403E4E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#3A3F4E
Tritanopia (blue-blind)
#3D4143
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403e4e;
/* rgb */ color: rgb(64, 62, 78);
/* oklch */ color: oklch(37.2% 0.027 290.7);
Tailwind
colors: {
  custom: {
    50: '#75737f',
    500: '#403e4e',
    950: '#000000',
  },
}
SCSS
$custom: #403e4e;
$custom-light: #75737f;
$custom-dark: #000000;
JSON
{
  "hex": "#403e4e",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 78
  },
  "hsl": {
    "h": 247.5,
    "s": 11.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37225,
    "c": 0.02726,
    "h": 290.7
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#403E4E
secondary
#7B7D6B
accent
#B473AC
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #403E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#403E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva