#514BB7#514BB7
#514BB7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.165 H 280.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB7 |
|---|---|
| RGB | rgb(81, 75, 183) |
| HSL | hsl(243, 43%, 51%) |
| HSV | hsv(243, 59%, 72%) |
| CMYK | cmyk(55.7%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(38.20, 33.27, -56.62) |
| CIE-LCH | lch(38.20, 65.67, 300.44°) |
| OKLab | oklab(48.08% 0.0306 -0.1624) |
| OKLCH | oklch(48.08% 0.165 280.7) |
| XYZ | xyz(14.4540, 10.1995, 45.9976) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 4.77
Iris
#6258C4
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.60
Blurple
#5539CC
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB7 #B1B74B
analogous
#4B7BB7 #514BB7 #874BB7
triadic
#514BB7 #B7514B #4BB751
tetradic
#514BB7 #B74B7B #B1B74B #4BB787
square
#514BB7 #B74B7B #B1B74B #4BB787
split-complementary
#514BB7 #B7874B #7BB74B
monochromatic
#2A2761 #3D388D #514BB7 #7B77C8 #A6A2DA
Accessibility & contrast
On white
6.91
#514BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#514BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BB7
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB7 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#1E657A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514bb7; /* rgb */ color: rgb(81, 75, 183); /* oklch */ color: oklch(48.1% 0.165 280.7);
Tailwind
colors: {
custom: {
50: '#8b7dcd',
500: '#514bb7',
950: '#000000',
},
}SCSS
$custom: #514bb7; $custom-light: #8b7dcd; $custom-dark: #000000;
JSON
{
"hex": "#514bb7",
"rgb": {
"r": 81,
"g": 75,
"b": 183
},
"hsl": {
"h": 243.333,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.48082,
"c": 0.16526,
"h": 280.7
},
"luminance": 0.102
}Semantic roles & 50–950 ramp
primary
#514BB7
secondary
#C4C797
accent
#D355CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82