#40435E#40435E

#40435E is a dark, muted blue. Relative luminance 0.059; OKLCH L 39.2% C 0.046 H 279.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#40435E
RGBrgb(64, 67, 94)
HSLhsl(234, 19%, 31%)
HSVhsv(234, 32%, 37%)
CMYKcmyk(31.9%, 28.7%, 0%, 63.1%)
CIE-LABlab(29.19, 5.85, -16.36)
CIE-LCHlch(29.19, 17.38, 289.68°)
OKLaboklab(39.17% 0.0073 -0.0453)
OKLCHoklch(39.17% 0.046 279.1)
XYZxyz(6.1413, 5.9123, 11.4051)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40435E #5E5B40
analogous
#40525E #40435E #4C405E
triadic
#40435E #5E4043 #435E40
tetradic
#40435E #5E4052 #5E5B40 #405E4C
square
#40435E #5E4052 #5E5B40 #405E4C
split-complementary
#40435E #5E4C40 #525E40
monochromatic
#0E0F15 #27293A #40435E #595D82 #767BA2

Accessibility & contrast

On white

9.62
#40435E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#40435E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40435E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40435E#FFFFFF#000000##FFFFFF
##40435E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#3A445D
Tritanopia (blue-blind)
#38484C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40435e;
/* rgb */ color: rgb(64, 67, 94);
/* oklch */ color: oklch(39.2% 0.046 279.1);
Tailwind
colors: {
  custom: {
    50: '#75778b',
    500: '#40435e',
    950: '#000000',
  },
}
SCSS
$custom: #40435e;
$custom-light: #75778b;
$custom-dark: #000000;
JSON
{
  "hex": "#40435e",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 94
  },
  "hsl": {
    "h": 234,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39173,
    "c": 0.04586,
    "h": 279.1
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#40435E
secondary
#8D8A6C
accent
#B46CBC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #40435E

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

Preview Lab → · Contrast checker → · Palette generator →

#40435E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva