#514FD5#514FD5
#514FD5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.200 H 277.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #514FD5 |
|---|---|
| RGB | rgb(81, 79, 213) |
| HSL | hsl(241, 61%, 57%) |
| HSV | hsv(241, 63%, 84%) |
| CMYK | cmyk(62%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(41.44, 40.56, -68.77) |
| CIE-LCH | lch(41.44, 79.85, 300.53°) |
| OKLab | oklab(51.19% 0.0255 -0.1981) |
| OKLCH | oklch(51.19% 0.2 277.3) |
| XYZ | xyz(18.1957, 12.1440, 64.3230) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.77
Iris
#6258C4
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 5.19
Light Indigo
#6D5ACF
ΔE00 5.26
Purpleish Blue
#6140EF
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FD5 #D3D54F
analogous
#4F90D5 #514FD5 #944FD5
triadic
#514FD5 #D5514F #4FD551
tetradic
#514FD5 #D54F90 #D3D54F #4FD594
square
#514FD5 #D54F90 #D3D54F #4FD594
split-complementary
#514FD5 #D5944F #90D54F
monochromatic
#222189 #2F2CBA #514FD5 #8280E1 #B3B2ED
Accessibility & contrast
On white
6.12
#514FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#514FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FD5
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FD5 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #514fd5; /* rgb */ color: rgb(81, 79, 213); /* oklch */ color: oklch(51.2% 0.200 277.3);
Tailwind
colors: {
custom: {
50: '#9081e3',
500: '#514fd5',
950: '#000000',
},
}SCSS
$custom: #514fd5; $custom-light: #9081e3; $custom-dark: #000000;
JSON
{
"hex": "#514fd5",
"rgb": {
"r": 81,
"g": 79,
"b": 213
},
"hsl": {
"h": 240.896,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.5119,
"c": 0.19973,
"h": 277.3
},
"luminance": 0.12145
}Semantic roles & 50–950 ramp
primary
#514FD5
secondary
#DADBA5
accent
#E543E2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84