#40495C#40495C

#40495C is a dark, muted blue. Relative luminance 0.066; OKLCH L 40.5% C 0.034 H 265.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#40495C
RGBrgb(64, 73, 92)
HSLhsl(221, 18%, 31%)
HSVhsv(221, 30%, 36%)
CMYKcmyk(30.4%, 20.7%, 0%, 63.9%)
CIE-LABlab(30.94, 1.37, -12.39)
CIE-LCHlch(30.94, 12.47, 276.31°)
OKLaboklab(40.51% -0.0029 -0.034)
OKLCHoklch(40.51% 0.034 265)
XYZxyz(6.4281, 6.6276, 11.0637)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40495C #5C5340
analogous
#40575C #40495C #45405C
triadic
#40495C #5C4049 #495C40
tetradic
#40495C #5C4057 #5C5340 #405C45
square
#40495C #5C4057 #5C5340 #405C45
split-complementary
#40495C #5C4540 #575C40
monochromatic
#0E1014 #272C38 #40495C #596680 #7684A0

Accessibility & contrast

On white

9.03
#40495C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40495C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40495C#FFFFFF#000000##FFFFFF
##40495C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5D
Deuteranopia (green-blind)
#40485C
Tritanopia (blue-blind)
#384D4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #40495c;
/* rgb */ color: rgb(64, 73, 92);
/* oklch */ color: oklch(40.5% 0.034 265.0);
Tailwind
colors: {
  custom: {
    50: '#757b8a',
    500: '#40495c',
    950: '#000000',
  },
}
SCSS
$custom: #40495c;
$custom-light: #757b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40495c",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 92
  },
  "hsl": {
    "h": 220.714,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.03417,
    "h": 265
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#40495C
secondary
#8B816C
accent
#A26DBB
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090B
muted
#7B7B7C

Preview Lab

Preview with #40495C

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

Preview Lab → · Contrast checker → · Palette generator →

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