#514BB1#514BB1
#514BB1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.157 H 281.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB1 |
|---|---|
| RGB | rgb(81, 75, 177) |
| HSL | hsl(244, 40%, 49%) |
| HSV | hsv(244, 58%, 69%) |
| CMYK | cmyk(54.2%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(37.76, 31.34, -53.79) |
| CIE-LCH | lch(37.76, 62.25, 300.22°) |
| OKLab | oklab(47.62% 0.0307 -0.1541) |
| OKLCH | oklch(47.62% 0.157 281.3) |
| XYZ | xyz(13.8428, 9.9550, 42.7785) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.75
Blueberry
#464196
ΔE00 5.00
Iris
#6258C4
ΔE00 5.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Bluey Purple
#6241C7
ΔE00 5.31
Blue Blue
#2242C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB1 #ABB14B
analogous
#4B78B1 #514BB1 #844BB1
triadic
#514BB1 #B1514B #4BB151
tetradic
#514BB1 #B14B78 #ABB14B #4BB184
square
#514BB1 #B14B78 #ABB14B #4BB184
split-complementary
#514BB1 #B1844B #78B14B
monochromatic
#2A275B #3D3986 #514BB1 #7975C4 #A3A0D7
Accessibility & contrast
On white
7.02
#514BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#514BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514BB1
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB1 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#266376
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #514bb1; /* rgb */ color: rgb(81, 75, 177); /* oklch */ color: oklch(47.6% 0.157 281.3);
Tailwind
colors: {
custom: {
50: '#8a7dc9',
500: '#514bb1',
950: '#000000',
},
}SCSS
$custom: #514bb1; $custom-light: #8a7dc9; $custom-dark: #000000;
JSON
{
"hex": "#514bb1",
"rgb": {
"r": 81,
"g": 75,
"b": 177
},
"hsl": {
"h": 243.529,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.47621,
"c": 0.15709,
"h": 281.3
},
"luminance": 0.09956
}Semantic roles & 50–950 ramp
primary
#514BB1
secondary
#C1C394
accent
#D057C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82