#45489F#45489F
#45489F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.138 H 277.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #45489F |
|---|---|
| RGB | rgb(69, 72, 159) |
| HSL | hsl(238, 39%, 45%) |
| HSV | hsv(238, 57%, 62%) |
| CMYK | cmyk(56.6%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(34.81, 24.87, -47.87) |
| CIE-LCH | lch(34.81, 53.94, 297.45°) |
| OKLab | oklab(44.78% 0.0187 -0.137) |
| OKLCH | oklch(44.78% 0.138 277.8) |
| XYZ | xyz(11.0276, 8.4024, 33.8349) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.62
Ocean Blue
#4F42B5
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 4.82
Twilight
#4E518B
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 6.09
Blue Blue
#2242C7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45489F #9F9C45
analogous
#45759F #45489F #6F459F
triadic
#45489F #9F4548 #489F45
tetradic
#45489F #9F4575 #9F9C45 #459F6F
square
#45489F #9F4575 #9F9C45 #459F6F
split-complementary
#45489F #9F6F45 #759F45
monochromatic
#20214A #323574 #45489F #6568BC #9092CF
Accessibility & contrast
On white
7.83
#45489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#45489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45489F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45489F | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#165C6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #45489f; /* rgb */ color: rgb(69, 72, 159); /* oklch */ color: oklch(44.8% 0.138 277.8);
Tailwind
colors: {
custom: {
50: '#817bbc',
500: '#45489f',
950: '#000000',
},
}SCSS
$custom: #45489f; $custom-light: #817bbc; $custom-dark: #000000;
JSON
{
"hex": "#45489f",
"rgb": {
"r": 69,
"g": 72,
"b": 159
},
"hsl": {
"h": 238,
"s": 39.474,
"l": 44.706
},
"oklch": {
"l": 0.44784,
"c": 0.13826,
"h": 277.8
},
"luminance": 0.08403
}Semantic roles & 50–950 ramp
primary
#45489F
secondary
#BAB886
accent
#CB58CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81