#514BC5#514BC5
#514BC5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.184 H 279.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #514BC5 |
|---|---|
| RGB | rgb(81, 75, 197) |
| HSL | hsl(243, 51%, 53%) |
| HSV | hsv(243, 62%, 77%) |
| CMYK | cmyk(58.9%, 61.9%, 0%, 22.7%) |
| CIE-LAB | lab(39.26, 37.79, -63.09) |
| CIE-LCH | lch(39.26, 73.54, 300.92°) |
| OKLab | oklab(49.2% 0.0301 -0.1814) |
| OKLCH | oklch(49.2% 0.184 279.4) |
| XYZ | xyz(15.9843, 10.8116, 54.0570) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.40
Bluey Purple
#6241C7
ΔE00 4.04
Blue With A Hint Of Purple
#533CC6
ΔE00 4.07
Iris
#6258C4
ΔE00 4.45
Blurple
#5539CC
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BC5 #BFC54B
analogous
#4B82C5 #514BC5 #8E4BC5
triadic
#514BC5 #C5514B #4BC551
tetradic
#514BC5 #C54B82 #BFC54B #4BC58E
square
#514BC5 #C54B82 #BFC54B #4BC58E
split-complementary
#514BC5 #C58E4B #82C54B
monochromatic
#282471 #39339F #514BC5 #7E79D4 #AAA8E3
Accessibility & contrast
On white
6.64
#514BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#514BC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BC5
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BC5 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514bc5; /* rgb */ color: rgb(81, 75, 197); /* oklch */ color: oklch(49.2% 0.184 279.4);
Tailwind
colors: {
custom: {
50: '#8d7ed7',
500: '#514bc5',
950: '#000000',
},
}SCSS
$custom: #514bc5; $custom-light: #8d7ed7; $custom-dark: #000000;
JSON
{
"hex": "#514bc5",
"rgb": {
"r": 81,
"g": 75,
"b": 197
},
"hsl": {
"h": 242.951,
"s": 51.261,
"l": 53.333
},
"oklch": {
"l": 0.49198,
"c": 0.18387,
"h": 279.4
},
"luminance": 0.10813
}Semantic roles & 50–950 ramp
primary
#514BC5
secondary
#CED09C
accent
#DB4DD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83