#514799#514799
#514799 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.129 H 285.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #514799 |
|---|---|
| RGB | rgb(81, 71, 153) |
| HSL | hsl(247, 37%, 44%) |
| HSV | hsv(247, 54%, 60%) |
| CMYK | cmyk(47.1%, 53.6%, 0%, 40%) |
| CIE-LAB | lab(35.11, 26.23, -43.70) |
| CIE-LCH | lch(35.11, 50.97, 300.97°) |
| OKLab | oklab(45.13% 0.0346 -0.1244) |
| OKLCH | oklch(45.13% 0.129 285.5) |
| XYZ | xyz(11.3947, 8.5552, 31.1817) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.46
Darkslateblue
#483D8B
ΔE00 3.52
Ocean Blue
#4F42B5
ΔE00 4.99
Twilight
#4E518B
ΔE00 5.10
Dusk
#4E5481
ΔE00 7.65
Blue With A Hint Of Purple
#533CC6
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514799 #8F9947
analogous
#476699 #514799 #7A4799
triadic
#514799 #995147 #479951
tetradic
#514799 #994766 #8F9947 #47997A
square
#514799 #994766 #8F9947 #47997A
split-complementary
#514799 #997A47 #669947
monochromatic
#252045 #3B346F #514799 #6F65B8 #978FCB
Accessibility & contrast
On white
7.75
#514799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#514799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514799
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514799 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#395969
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #514799; /* rgb */ color: rgb(81, 71, 153); /* oklch */ color: oklch(45.1% 0.129 285.5);
Tailwind
colors: {
custom: {
50: '#877ab7',
500: '#514799',
950: '#000000',
},
}SCSS
$custom: #514799; $custom-light: #877ab7; $custom-dark: #000000;
JSON
{
"hex": "#514799",
"rgb": {
"r": 81,
"g": 71,
"b": 153
},
"hsl": {
"h": 247.317,
"s": 36.607,
"l": 43.922
},
"oklch": {
"l": 0.45126,
"c": 0.12914,
"h": 285.5
},
"luminance": 0.08556
}Semantic roles & 50–950 ramp
primary
#514799
secondary
#B1B785
accent
#CD5BBF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80