#514FAB#514FAB
#514FAB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.143 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #514FAB |
|---|---|
| RGB | rgb(81, 79, 171) |
| HSL | hsl(241, 37%, 49%) |
| HSV | hsv(241, 54%, 67%) |
| CMYK | cmyk(52.6%, 53.8%, 0%, 32.9%) |
| CIE-LAB | lab(38.34, 26.89, -49.30) |
| CIE-LCH | lch(38.34, 56.15, 298.61°) |
| OKLab | oklab(47.92% 0.0261 -0.1408) |
| OKLCH | oklch(47.92% 0.143 280.5) |
| XYZ | xyz(13.5377, 10.2808, 39.7912) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.37
Blueberry
#464196
ΔE00 5.08
Iris
#6258C4
ΔE00 5.16
Twilight
#4E518B
ΔE00 6.00
Bluey Purple
#6241C7
ΔE00 6.81
Blue With A Hint Of Purple
#533CC6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FAB #A9AB4F
analogous
#4F7BAB #514FAB #7F4FAB
triadic
#514FAB #AB514F #4FAB51
tetradic
#514FAB #AB4F7B #A9AB4F #4FAB7F
square
#514FAB #AB4F7B #A9AB4F #4FAB7F
split-complementary
#514FAB #AB7F4F #7BAB4F
monochromatic
#292857 #3D3C81 #514FAB #7977C0 #A2A1D4
Accessibility & contrast
On white
6.87
#514FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#514FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FAB
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FAB | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5EAE
Deuteranopia (green-blind)
#0F57A9
Tritanopia (blue-blind)
#2B6475
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514fab; /* rgb */ color: rgb(81, 79, 171); /* oklch */ color: oklch(47.9% 0.143 280.5);
Tailwind
colors: {
custom: {
50: '#8980c5',
500: '#514fab',
950: '#000000',
},
}SCSS
$custom: #514fab; $custom-light: #8980c5; $custom-dark: #000000;
JSON
{
"hex": "#514fab",
"rgb": {
"r": 81,
"g": 79,
"b": 171
},
"hsl": {
"h": 241.304,
"s": 36.8,
"l": 49.02
},
"oklch": {
"l": 0.4792,
"c": 0.14322,
"h": 280.5
},
"luminance": 0.10282
}Semantic roles & 50–950 ramp
primary
#514FAB
secondary
#C0C195
accent
#CD5BCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82