#40425A#40425A
#40425A is a dark, muted blue. Relative luminance 0.057; OKLCH L 38.7% C 0.041 H 280.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #40425A |
|---|---|
| RGB | rgb(64, 66, 90) |
| HSL | hsl(235, 17%, 30%) |
| HSV | hsv(235, 29%, 35%) |
| CMYK | cmyk(28.9%, 26.7%, 0%, 64.7%) |
| CIE-LAB | lab(28.71, 5.36, -14.53) |
| CIE-LCH | lch(28.71, 15.49, 290.24°) |
| OKLab | oklab(38.74% 0.0075 -0.0401) |
| OKLCH | oklch(38.74% 0.041 280.6) |
| XYZ | xyz(5.9076, 5.7245, 10.4646) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 9.18
Navy Blue
#1B2A4A
ΔE00 9.47
Twilight
#4E518B
ΔE00 11.10
Charcoal
#36454F
ΔE00 11.24
Dark Grey Blue
#29465B
ΔE00 11.61
Dark
#1B2431
ΔE00 12.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40425A #5A5840
analogous
#404F5A #40425A #4B405A
triadic
#40425A #5A4042 #425A40
tetradic
#40425A #5A404F #5A5840 #405A4B
square
#40425A #5A404F #5A5840 #405A4B
split-complementary
#40425A #5A4B40 #4F5A40
monochromatic
#0D0E12 #272836 #40425A #595C7E #767A9E
Accessibility & contrast
On white
9.79
#40425A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#40425A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40425A
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40425A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40425A | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B455B
Deuteranopia (green-blind)
#3A4359
Tritanopia (blue-blind)
#3A464A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #40425a; /* rgb */ color: rgb(64, 66, 90); /* oklch */ color: oklch(38.7% 0.041 280.6);
Tailwind
colors: {
custom: {
50: '#757688',
500: '#40425a',
950: '#000000',
},
}SCSS
$custom: #40425a; $custom-light: #757688; $custom-dark: #000000;
JSON
{
"hex": "#40425a",
"rgb": {
"r": 64,
"g": 66,
"b": 90
},
"hsl": {
"h": 235.385,
"s": 16.883,
"l": 30.196
},
"oklch": {
"l": 0.38738,
"c": 0.04076,
"h": 280.6
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#40425A
secondary
#89876C
accent
#B46EBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080B
muted
#7B7B7C