#40495D#40495D

#40495D is a dark, muted blue. Relative luminance 0.066; OKLCH L 40.6% C 0.036 H 265.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#40495D
RGBrgb(64, 73, 93)
HSLhsl(221, 18%, 31%)
HSVhsv(221, 31%, 36%)
CMYKcmyk(31.2%, 21.5%, 0%, 63.5%)
CIE-LABlab(30.99, 1.65, -12.97)
CIE-LCHlch(30.99, 13.07, 277.27°)
OKLaboklab(40.56% -0.0026 -0.0357)
OKLCHoklch(40.56% 0.036 265.9)
XYZxyz(6.4721, 6.6452, 11.2954)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40495D #5D5440
analogous
#40575D #40495D #45405D
triadic
#40495D #5D4049 #495D40
tetradic
#40495D #5D4057 #5D5440 #405D45
square
#40495D #5D4057 #5D5440 #405D45
split-complementary
#40495D #5D4540 #575D40
monochromatic
#0E1014 #272D39 #40495D #596581 #7684A1

Accessibility & contrast

On white

9.02
#40495D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#40495D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40495D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40495D#FFFFFF#000000##FFFFFF
##40495D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5E
Deuteranopia (green-blind)
#40485D
Tritanopia (blue-blind)
#384D50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #40495d;
/* rgb */ color: rgb(64, 73, 93);
/* oklch */ color: oklch(40.6% 0.036 265.9);
Tailwind
colors: {
  custom: {
    50: '#757b8b',
    500: '#40495d',
    950: '#000000',
  },
}
SCSS
$custom: #40495d;
$custom-light: #757b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40495d",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 93
  },
  "hsl": {
    "h": 221.379,
    "s": 18.471,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.03576,
    "h": 265.9
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#40495D
secondary
#8C836C
accent
#A36DBB
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #40495D

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

Preview Lab → · Contrast checker → · Palette generator →

#40495D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva