#5149AF#5149AF
#5149AF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.157 H 282.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5149AF |
|---|---|
| RGB | rgb(81, 73, 175) |
| HSL | hsl(245, 41%, 49%) |
| HSV | hsv(245, 58%, 69%) |
| CMYK | cmyk(53.7%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(37.13, 31.94, -53.63) |
| CIE-LCH | lch(37.13, 62.42, 300.78°) |
| OKLab | oklab(47.11% 0.0328 -0.1536) |
| OKLCH | oklch(47.11% 0.157 282.1) |
| XYZ | xyz(13.5114, 9.6088, 41.6918) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.29
Blueberry
#464196
ΔE00 4.51
Blue With A Hint Of Purple
#533CC6
ΔE00 4.94
Bluey Purple
#6241C7
ΔE00 5.16
Iris
#6258C4
ΔE00 5.74
Blurple
#5539CC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5149AF #A7AF49
analogous
#4974AF #5149AF #8449AF
triadic
#5149AF #AF5149 #49AF51
tetradic
#5149AF #AF4974 #A7AF49 #49AF84
square
#5149AF #AF4974 #A7AF49 #49AF84
split-complementary
#5149AF #AF8449 #74AF49
monochromatic
#292559 #3D3784 #5149AF #7871C4 #A19CD6
Accessibility & contrast
On white
7.19
#5149AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#5149AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5149AF
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5149AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5149AF | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#286175
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5149af; /* rgb */ color: rgb(81, 73, 175); /* oklch */ color: oklch(47.1% 0.157 282.1);
Tailwind
colors: {
custom: {
50: '#8a7cc8',
500: '#5149af',
950: '#000000',
},
}SCSS
$custom: #5149af; $custom-light: #8a7cc8; $custom-dark: #000000;
JSON
{
"hex": "#5149af",
"rgb": {
"r": 81,
"g": 73,
"b": 175
},
"hsl": {
"h": 244.706,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.47109,
"c": 0.15707,
"h": 282.1
},
"luminance": 0.0961
}Semantic roles & 50–950 ramp
primary
#5149AF
secondary
#BFC291
accent
#D157C7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82