#40446F#40446F
#40446F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.072 H 278.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #40446F |
|---|---|
| RGB | rgb(64, 68, 111) |
| HSL | hsl(235, 27%, 34%) |
| HSV | hsv(235, 42%, 44%) |
| CMYK | cmyk(42.3%, 38.7%, 0%, 56.5%) |
| CIE-LAB | lab(30.33, 10.38, -25.43) |
| CIE-LCH | lch(30.33, 27.46, 292.20°) |
| OKLab | oklab(40.33% 0.0108 -0.0714) |
| OKLCH | oklch(40.33% 0.072 278.6) |
| XYZ | xyz(7.0499, 6.3716, 15.8942) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.48
Twilight
#4E518B
ΔE00 6.00
Darkslateblue
#483D8B
ΔE00 7.39
Blueberry
#464196
ΔE00 8.25
Cobalt (survey)
#1E488F
ΔE00 9.30
Twilight Blue
#0A437A
ΔE00 9.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40446F #6F6B40
analogous
#405C6F #40446F #54406F
triadic
#40446F #6F4044 #446F40
tetradic
#40446F #6F405C #6F6B40 #406F54
square
#40446F #6F405C #6F6B40 #406F54
split-complementary
#40446F #6F5440 #5C6F40
monochromatic
#131421 #2A2C48 #40446F #565C96 #787DB1
Accessibility & contrast
On white
9.23
#40446F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#40446F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40446F
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40446F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40446F | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#32466E
Tritanopia (blue-blind)
#324D54
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #40446f; /* rgb */ color: rgb(64, 68, 111); /* oklch */ color: oklch(40.3% 0.072 278.6);
Tailwind
colors: {
custom: {
50: '#777798',
500: '#40446f',
950: '#000000',
},
}SCSS
$custom: #40446f; $custom-light: #777798; $custom-dark: #000000;
JSON
{
"hex": "#40446f",
"rgb": {
"r": 64,
"g": 68,
"b": 111
},
"hsl": {
"h": 234.894,
"s": 26.857,
"l": 34.314
},
"oklch": {
"l": 0.40331,
"c": 0.0722,
"h": 278.6
},
"luminance": 0.06372
}Semantic roles & 50–950 ramp
primary
#40446F
secondary
#9C986F
accent
#BB65C3
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E