#45407E#45407E
#45407E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.8% C 0.101 H 284.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #45407E |
|---|---|
| RGB | rgb(69, 64, 126) |
| HSL | hsl(245, 33%, 37%) |
| HSV | hsv(245, 49%, 49%) |
| CMYK | cmyk(45.2%, 49.2%, 0%, 50.6%) |
| CIE-LAB | lab(30.49, 19.20, -34.57) |
| CIE-LCH | lch(30.49, 39.55, 299.05°) |
| OKLab | oklab(40.84% 0.0256 -0.098) |
| OKLCH | oklch(40.84% 0.101 284.6) |
| XYZ | xyz(8.0524, 6.4380, 20.5530) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.13
Blueberry
#464196
ΔE00 4.56
Twilight
#4E518B
ΔE00 5.53
Dusk
#4E5481
ΔE00 6.99
Cobalt (survey)
#1E488F
ΔE00 9.23
Ocean Blue
#4F42B5
ΔE00 9.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45407E #797E40
analogous
#405A7E #45407E #64407E
triadic
#45407E #7E4540 #407E45
tetradic
#45407E #7E405A #797E40 #407E64
square
#45407E #7E405A #797E40 #407E64
split-complementary
#45407E #7E6440 #5A7E40
monochromatic
#19172D #2F2B55 #45407E #5B55A7 #817CBC
Accessibility & contrast
On white
9.18
#45407E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#45407E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45407E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45407E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45407E | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#334D59
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #45407e; /* rgb */ color: rgb(69, 64, 126); /* oklch */ color: oklch(40.8% 0.101 284.6);
Tailwind
colors: {
custom: {
50: '#7c74a4',
500: '#45407e',
950: '#000000',
},
}SCSS
$custom: #45407e; $custom-light: #7c74a4; $custom-dark: #000000;
JSON
{
"hex": "#45407e",
"rgb": {
"r": 69,
"g": 64,
"b": 126
},
"hsl": {
"h": 244.839,
"s": 32.632,
"l": 37.255
},
"oklch": {
"l": 0.40841,
"c": 0.10128,
"h": 284.6
},
"luminance": 0.06438
}Semantic roles & 50–950 ramp
primary
#45407E
secondary
#A3A773
accent
#C95FC0
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F