#514BB3#514BB3
#514BB3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.160 H 281.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB3 |
|---|---|
| RGB | rgb(81, 75, 179) |
| HSL | hsl(243, 41%, 50%) |
| HSV | hsv(243, 58%, 70%) |
| CMYK | cmyk(54.7%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(37.91, 31.98, -54.74) |
| CIE-LCH | lch(37.91, 63.40, 300.29°) |
| OKLab | oklab(47.77% 0.0307 -0.1569) |
| OKLCH | oklch(47.77% 0.16 281.1) |
| XYZ | xyz(14.0436, 10.0353, 43.8361) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.67
Blue With A Hint Of Purple
#533CC6
ΔE00 5.02
Iris
#6258C4
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.12
Blueberry
#464196
ΔE00 5.24
Blue Blue
#2242C7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB3 #ADB34B
analogous
#4B79B3 #514BB3 #854BB3
triadic
#514BB3 #B3514B #4BB351
tetradic
#514BB3 #B34B79 #ADB34B #4BB385
square
#514BB3 #B34B79 #ADB34B #4BB385
split-complementary
#514BB3 #B3854B #79B34B
monochromatic
#2A275D #3D3988 #514BB3 #7A76C5 #A4A1D8
Accessibility & contrast
On white
6.98
#514BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#514BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BB3
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB3 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#246377
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #514bb3; /* rgb */ color: rgb(81, 75, 179); /* oklch */ color: oklch(47.8% 0.160 281.1);
Tailwind
colors: {
custom: {
50: '#8a7dca',
500: '#514bb3',
950: '#000000',
},
}SCSS
$custom: #514bb3; $custom-light: #8a7dca; $custom-dark: #000000;
JSON
{
"hex": "#514bb3",
"rgb": {
"r": 81,
"g": 75,
"b": 179
},
"hsl": {
"h": 243.462,
"s": 40.945,
"l": 49.804
},
"oklch": {
"l": 0.47774,
"c": 0.15983,
"h": 281.1
},
"luminance": 0.10036
}Semantic roles & 50–950 ramp
primary
#514BB3
secondary
#C2C495
accent
#D157CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82