#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 |
|---|---|
| RGB | rgb(64, 73, 92) |
| HSL | hsl(221, 18%, 31%) |
| HSV | hsv(221, 30%, 36%) |
| CMYK | cmyk(30.4%, 20.7%, 0%, 63.9%) |
| CIE-LAB | lab(30.94, 1.37, -12.39) |
| CIE-LCH | lch(30.94, 12.47, 276.31°) |
| OKLab | oklab(40.51% -0.0029 -0.034) |
| OKLCH | oklch(40.51% 0.034 265) |
| XYZ | xyz(6.4281, 6.6276, 11.0637) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Charcoal
#36454F
ΔE00 6.90
Dark Grey Blue
#29465B
ΔE00 7.22
Dark Slate Blue
#214761
ΔE00 8.37
Dark Blue Grey
#1F3B4D
ΔE00 9.05
Dusk
#4E5481
ΔE00 9.64
Charcoal Grey
#3C4142
ΔE00 9.87
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 |
|---|---|---|---|---|
| ##40495C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.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