#514FB5#514FB5
#514FB5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.157 H 279.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #514FB5 |
|---|---|
| RGB | rgb(81, 79, 181) |
| HSL | hsl(241, 41%, 51%) |
| HSV | hsv(241, 56%, 71%) |
| CMYK | cmyk(55.2%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(39.03, 30.13, -54.10) |
| CIE-LCH | lch(39.03, 61.92, 299.12°) |
| OKLab | oklab(48.65% 0.0265 -0.1549) |
| OKLCH | oklch(48.65% 0.157 279.7) |
| XYZ | xyz(14.5272, 10.6766, 45.0024) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.88
Iris
#6258C4
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 5.85
Warm Blue
#4B57DB
ΔE00 5.86
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FB5 #B3B54F
analogous
#4F80B5 #514FB5 #844FB5
triadic
#514FB5 #B5514F #4FB551
tetradic
#514FB5 #B54F80 #B3B54F #4FB584
square
#514FB5 #B54F80 #B3B54F #4FB584
split-complementary
#514FB5 #B5844F #80B54F
monochromatic
#2A2961 #3C3B8C #514FB5 #7C7AC7 #A6A5D9
Accessibility & contrast
On white
6.70
#514FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#514FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FB5
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FB5 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0160B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#20677A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514fb5; /* rgb */ color: rgb(81, 79, 181); /* oklch */ color: oklch(48.7% 0.157 279.7);
Tailwind
colors: {
custom: {
50: '#8a80cc',
500: '#514fb5',
950: '#000000',
},
}SCSS
$custom: #514fb5; $custom-light: #8a80cc; $custom-dark: #000000;
JSON
{
"hex": "#514fb5",
"rgb": {
"r": 81,
"g": 79,
"b": 181
},
"hsl": {
"h": 241.176,
"s": 40.8,
"l": 50.98
},
"oklch": {
"l": 0.48653,
"c": 0.15718,
"h": 279.7
},
"luminance": 0.10677
}Semantic roles & 50–950 ramp
primary
#514FB5
secondary
#C6C699
accent
#D157CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A13
muted
#7D7C82