#5149AE#5149AE
#5149AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.156 H 282.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5149AE |
|---|---|
| RGB | rgb(81, 73, 174) |
| HSL | hsl(245, 41%, 48%) |
| HSV | hsv(245, 58%, 68%) |
| CMYK | cmyk(53.4%, 58%, 0%, 31.8%) |
| CIE-LAB | lab(37.06, 31.62, -53.15) |
| CIE-LCH | lch(37.06, 61.84, 300.75°) |
| OKLab | oklab(47.03% 0.0328 -0.1522) |
| OKLCH | oklch(47.03% 0.156 282.2) |
| XYZ | xyz(13.4135, 9.5696, 41.1765) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.37
Blueberry
#464196
ΔE00 4.39
Blue With A Hint Of Purple
#533CC6
ΔE00 5.05
Bluey Purple
#6241C7
ΔE00 5.27
Iris
#6258C4
ΔE00 5.82
Blurple
#5539CC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5149AE #A6AE49
analogous
#4973AE #5149AE #8349AE
triadic
#5149AE #AE5149 #49AE51
tetradic
#5149AE #AE4973 #A6AE49 #49AE83
square
#5149AE #AE4973 #A6AE49 #49AE83
split-complementary
#5149AE #AE8349 #73AE49
monochromatic
#292558 #3D3783 #5149AE #7771C3 #A19CD5
Accessibility & contrast
On white
7.21
#5149AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#5149AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5149AE
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5149AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5149AE | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#296074
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5149ae; /* rgb */ color: rgb(81, 73, 174); /* oklch */ color: oklch(47.0% 0.156 282.2);
Tailwind
colors: {
custom: {
50: '#8a7cc7',
500: '#5149ae',
950: '#000000',
},
}SCSS
$custom: #5149ae; $custom-light: #8a7cc7; $custom-dark: #000000;
JSON
{
"hex": "#5149ae",
"rgb": {
"r": 81,
"g": 73,
"b": 174
},
"hsl": {
"h": 244.752,
"s": 40.891,
"l": 48.431
},
"oklch": {
"l": 0.47033,
"c": 0.15569,
"h": 282.2
},
"luminance": 0.0957
}Semantic roles & 50–950 ramp
primary
#5149AE
secondary
#BEC291
accent
#D157C7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82