#514FBE#514FBE
#514FBE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.169 H 279.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #514FBE |
|---|---|
| RGB | rgb(81, 79, 190) |
| HSL | hsl(241, 46%, 53%) |
| HSV | hsv(241, 58%, 75%) |
| CMYK | cmyk(57.4%, 58.4%, 0%, 25.5%) |
| CIE-LAB | lab(39.68, 33.07, -58.33) |
| CIE-LCH | lch(39.68, 67.05, 299.55°) |
| OKLab | oklab(49.34% 0.0265 -0.1674) |
| OKLCH | oklch(49.34% 0.169 279) |
| XYZ | xyz(15.4806, 11.0579, 50.0239) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.75
Ocean Blue
#4F42B5
ΔE00 3.98
Warm Blue
#4B57DB
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 5.26
Blue With A Hint Of Purple
#533CC6
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FBE #BCBE4F
analogous
#4F84BE #514FBE #884FBE
triadic
#514FBE #BE514F #4FBE51
tetradic
#514FBE #BE4F84 #BCBE4F #4FBE88
square
#514FBE #BE4F84 #BCBE4F #4FBE88
split-complementary
#514FBE #BE884F #84BE4F
monochromatic
#29286B #3A3898 #514FBE #7D7CCF #A9A8DF
Accessibility & contrast
On white
6.54
#514FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#514FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FBE
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FBE | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#10697F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #514fbe; /* rgb */ color: rgb(81, 79, 190); /* oklch */ color: oklch(49.3% 0.169 279.0);
Tailwind
colors: {
custom: {
50: '#8c80d2',
500: '#514fbe',
950: '#000000',
},
}SCSS
$custom: #514fbe; $custom-light: #8c80d2; $custom-dark: #000000;
JSON
{
"hex": "#514fbe",
"rgb": {
"r": 81,
"g": 79,
"b": 190
},
"hsl": {
"h": 241.081,
"s": 46.058,
"l": 52.745
},
"oklch": {
"l": 0.49338,
"c": 0.16947,
"h": 279
},
"luminance": 0.11059
}Semantic roles & 50–950 ramp
primary
#514FBE
secondary
#CCCC9C
accent
#D652D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83