#45479F#45479F
#45479F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.140 H 278.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #45479F |
|---|---|
| RGB | rgb(69, 71, 159) |
| HSL | hsl(239, 39%, 45%) |
| HSV | hsv(239, 57%, 62%) |
| CMYK | cmyk(56.6%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(34.55, 25.52, -48.29) |
| CIE-LCH | lch(34.55, 54.61, 297.85°) |
| OKLab | oklab(44.59% 0.0197 -0.1383) |
| OKLCH | oklch(44.59% 0.14 278.1) |
| XYZ | xyz(10.9635, 8.2742, 33.8135) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.35
Ocean Blue
#4F42B5
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 4.60
Twilight
#4E518B
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45479F #9F9D45
analogous
#45749F #45479F #70459F
triadic
#45479F #9F4547 #479F45
tetradic
#45479F #9F4574 #9F9D45 #459F70
square
#45479F #9F4574 #9F9D45 #459F70
split-complementary
#45479F #9F7045 #749F45
monochromatic
#20214A #323474 #45479F #6567BC #9091CF
Accessibility & contrast
On white
7.91
#45479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#45479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45479F
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45479F | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#165B6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #45479f; /* rgb */ color: rgb(69, 71, 159); /* oklch */ color: oklch(44.6% 0.140 278.1);
Tailwind
colors: {
custom: {
50: '#817abc',
500: '#45479f',
950: '#000000',
},
}SCSS
$custom: #45479f; $custom-light: #817abc; $custom-dark: #000000;
JSON
{
"hex": "#45479f",
"rgb": {
"r": 69,
"g": 71,
"b": 159
},
"hsl": {
"h": 238.667,
"s": 39.474,
"l": 44.706
},
"oklch": {
"l": 0.44589,
"c": 0.13965,
"h": 278.1
},
"luminance": 0.08275
}Semantic roles & 50–950 ramp
primary
#45479F
secondary
#BAB986
accent
#CD58CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81