#40446C#40446C
#40446C is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.067 H 278.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #40446C |
|---|---|
| RGB | rgb(64, 68, 108) |
| HSL | hsl(235, 26%, 34%) |
| HSV | hsv(235, 41%, 42%) |
| CMYK | cmyk(40.7%, 37%, 0%, 57.6%) |
| CIE-LAB | lab(30.17, 9.43, -23.77) |
| CIE-LCH | lch(30.17, 25.58, 291.64°) |
| OKLab | oklab(40.16% 0.01 -0.0666) |
| OKLCH | oklch(40.16% 0.067 278.5) |
| XYZ | xyz(6.8875, 6.3067, 15.0389) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.69
Twilight
#4E518B
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 8.07
Blueberry
#464196
ΔE00 8.96
Navy Blue
#1B2A4A
ΔE00 9.76
Cobalt (survey)
#1E488F
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40446C #6C6840
analogous
#405A6C #40446C #52406C
triadic
#40446C #6C4044 #446C40
tetradic
#40446C #6C405A #6C6840 #406C52
square
#40446C #6C405A #6C6840 #406C52
split-complementary
#40446C #6C5240 #5A6C40
monochromatic
#12141F #292C46 #40446C #575C92 #787DAF
Accessibility & contrast
On white
9.29
#40446C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#40446C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40446C
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40446C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40446C | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#34456B
Tritanopia (blue-blind)
#334C53
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #40446c; /* rgb */ color: rgb(64, 68, 108); /* oklch */ color: oklch(40.2% 0.067 278.5);
Tailwind
colors: {
custom: {
50: '#777796',
500: '#40446c',
950: '#000000',
},
}SCSS
$custom: #40446c; $custom-light: #777796; $custom-dark: #000000;
JSON
{
"hex": "#40446c",
"rgb": {
"r": 64,
"g": 68,
"b": 108
},
"hsl": {
"h": 234.545,
"s": 25.581,
"l": 33.725
},
"oklch": {
"l": 0.40157,
"c": 0.06735,
"h": 278.5
},
"luminance": 0.06307
}Semantic roles & 50–950 ramp
primary
#40446C
secondary
#9A966E
accent
#BA66C2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E