#514FD2#514FD2
#514FD2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.196 H 277.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #514FD2 |
|---|---|
| RGB | rgb(81, 79, 210) |
| HSL | hsl(241, 59%, 57%) |
| HSV | hsv(241, 62%, 82%) |
| CMYK | cmyk(61.4%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(41.21, 39.59, -67.44) |
| CIE-LCH | lch(41.21, 78.20, 300.41°) |
| OKLab | oklab(50.94% 0.0257 -0.1942) |
| OKLCH | oklch(50.94% 0.196 277.5) |
| XYZ | xyz(17.8184, 11.9931, 62.3362) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.91
Iris
#6258C4
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.88
Bluey Purple
#6241C7
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.27
Dark Periwinkle
#665FD1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FD2 #D0D24F
analogous
#4F8FD2 #514FD2 #934FD2
triadic
#514FD2 #D2514F #4FD251
tetradic
#514FD2 #D24F8F #D0D24F #4FD293
square
#514FD2 #D24F8F #D0D24F #4FD293
split-complementary
#514FD2 #D2934F #8FD24F
monochromatic
#232285 #302EB5 #514FD2 #8180DE #B1B0EB
Accessibility & contrast
On white
6.18
#514FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#514FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FD2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FD2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #514fd2; /* rgb */ color: rgb(81, 79, 210); /* oklch */ color: oklch(50.9% 0.196 277.5);
Tailwind
colors: {
custom: {
50: '#8f81e1',
500: '#514fd2',
950: '#000000',
},
}SCSS
$custom: #514fd2; $custom-light: #8f81e1; $custom-dark: #000000;
JSON
{
"hex": "#514fd2",
"rgb": {
"r": 81,
"g": 79,
"b": 210
},
"hsl": {
"h": 240.916,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.50941,
"c": 0.19587,
"h": 277.5
},
"luminance": 0.11994
}Semantic roles & 50–950 ramp
primary
#514FD2
secondary
#D8D9A4
accent
#E245E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83