#40455E#40455E

#40455E is a dark, muted blue. Relative luminance 0.062; OKLCH L 39.6% C 0.043 H 275.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#40455E
RGBrgb(64, 69, 94)
HSLhsl(230, 19%, 31%)
HSVhsv(230, 32%, 37%)
CMYKcmyk(31.9%, 26.6%, 0%, 63.1%)
CIE-LABlab(29.80, 4.54, -15.43)
CIE-LCHlch(29.80, 16.08, 286.40°)
OKLaboklab(39.65% 0.0041 -0.0426)
OKLCHoklch(39.65% 0.043 275.5)
XYZxyz(6.2623, 6.1542, 11.4454)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40455E #5E5940
analogous
#40545E #40455E #4A405E
triadic
#40455E #5E4045 #455E40
tetradic
#40455E #5E4054 #5E5940 #405E4A
square
#40455E #5E4054 #5E5940 #405E4A
split-complementary
#40455E #5E4A40 #545E40
monochromatic
#0E1015 #272A3A #40455E #596082 #767EA2

Accessibility & contrast

On white

9.41
#40455E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#40455E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40455E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40455E#FFFFFF#000000##FFFFFF
##40455E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475F
Deuteranopia (green-blind)
#3C455D
Tritanopia (blue-blind)
#384A4E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #40455e;
/* rgb */ color: rgb(64, 69, 94);
/* oklch */ color: oklch(39.6% 0.043 275.5);
Tailwind
colors: {
  custom: {
    50: '#75788b',
    500: '#40455e',
    950: '#000000',
  },
}
SCSS
$custom: #40455e;
$custom-light: #75788b;
$custom-dark: #000000;
JSON
{
  "hex": "#40455e",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 94
  },
  "hsl": {
    "h": 230,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39645,
    "c": 0.04282,
    "h": 275.5
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#40455E
secondary
#8D886C
accent
#AE6CBC
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #40455E

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

Preview Lab → · Contrast checker → · Palette generator →

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