#40435F#40435F

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

Color values

HEX#40435F
RGBrgb(64, 67, 95)
HSLhsl(234, 19%, 31%)
HSVhsv(234, 33%, 37%)
CMYKcmyk(32.6%, 29.5%, 0%, 62.7%)
CIE-LABlab(29.24, 6.15, -16.94)
CIE-LCHlch(29.24, 18.02, 289.94°)
OKLaboklab(39.22% 0.0076 -0.0469)
OKLCHoklch(39.22% 0.048 279.2)
XYZxyz(6.1865, 5.9303, 11.6430)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40435F #5F5C40
analogous
#40525F #40435F #4C405F
triadic
#40435F #5F4043 #435F40
tetradic
#40435F #5F4052 #5F5C40 #405F4C
square
#40435F #5F4052 #5F5C40 #405F4C
split-complementary
#40435F #5F4C40 #525F40
monochromatic
#0F0F16 #27293A #40435F #595D84 #767BA3

Accessibility & contrast

On white

9.61
#40435F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#40435F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40435F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40435F#FFFFFF#000000##FFFFFF
##40435F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#39445E
Tritanopia (blue-blind)
#38484D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #40435f;
/* rgb */ color: rgb(64, 67, 95);
/* oklch */ color: oklch(39.2% 0.048 279.2);
Tailwind
colors: {
  custom: {
    50: '#75778c',
    500: '#40435f',
    950: '#000000',
  },
}
SCSS
$custom: #40435f;
$custom-light: #75778c;
$custom-dark: #000000;
JSON
{
  "hex": "#40435f",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 95
  },
  "hsl": {
    "h": 234.194,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.04753,
    "h": 279.2
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40435F

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

Preview Lab → · Contrast checker → · Palette generator →

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