#514EA9#514EA9
#514EA9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.142 H 281.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #514EA9 |
|---|---|
| RGB | rgb(81, 78, 169) |
| HSL | hsl(242, 37%, 48%) |
| HSV | hsv(242, 54%, 66%) |
| CMYK | cmyk(52.1%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(37.95, 26.87, -48.73) |
| CIE-LCH | lch(37.95, 55.65, 298.87°) |
| OKLab | oklab(47.59% 0.0271 -0.1392) |
| OKLCH | oklch(47.59% 0.142 281) |
| XYZ | xyz(13.2770, 10.0619, 38.7710) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.24
Blueberry
#464196
ΔE00 4.69
Iris
#6258C4
ΔE00 5.49
Twilight
#4E518B
ΔE00 5.81
Darkslateblue
#483D8B
ΔE00 6.60
Bluey Purple
#6241C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514EA9 #A6A94E
analogous
#4E78A9 #514EA9 #7E4EA9
triadic
#514EA9 #A9514E #4EA951
tetradic
#514EA9 #A94E78 #A6A94E #4EA97E
square
#514EA9 #A94E78 #A6A94E #4EA97E
split-complementary
#514EA9 #A97E4E #78A94E
monochromatic
#292755 #3D3B7F #514EA9 #7775BF #A19FD3
Accessibility & contrast
On white
6.97
#514EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#514EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514EA9
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514EA9 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#1056A7
Tritanopia (blue-blind)
#2D6274
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #514ea9; /* rgb */ color: rgb(81, 78, 169); /* oklch */ color: oklch(47.6% 0.142 281.0);
Tailwind
colors: {
custom: {
50: '#897fc3',
500: '#514ea9',
950: '#000000',
},
}SCSS
$custom: #514ea9; $custom-light: #897fc3; $custom-dark: #000000;
JSON
{
"hex": "#514ea9",
"rgb": {
"r": 81,
"g": 78,
"b": 169
},
"hsl": {
"h": 241.978,
"s": 36.842,
"l": 48.431
},
"oklch": {
"l": 0.47587,
"c": 0.14179,
"h": 281
},
"luminance": 0.10063
}Semantic roles & 50–950 ramp
primary
#514EA9
secondary
#BEBF93
accent
#CD5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81