#514FD3#514FD3
#514FD3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.197 H 277.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #514FD3 |
|---|---|
| RGB | rgb(81, 79, 211) |
| HSL | hsl(241, 60%, 57%) |
| HSV | hsv(241, 63%, 83%) |
| CMYK | cmyk(61.6%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(41.28, 39.92, -67.89) |
| CIE-LCH | lch(41.28, 78.75, 300.45°) |
| OKLab | oklab(51.02% 0.0257 -0.1955) |
| OKLCH | oklch(51.02% 0.197 277.5) |
| XYZ | xyz(17.9434, 12.0430, 62.9944) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.86
Iris
#6258C4
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.88
Bluey Purple
#6241C7
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.26
Dark Periwinkle
#665FD1
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FD3 #D1D34F
analogous
#4F8FD3 #514FD3 #934FD3
triadic
#514FD3 #D3514F #4FD351
tetradic
#514FD3 #D34F8F #D1D34F #4FD393
square
#514FD3 #D34F8F #D1D34F #4FD393
split-complementary
#514FD3 #D3934F #8FD34F
monochromatic
#232286 #302EB7 #514FD3 #8180DF #B2B1EB
Accessibility & contrast
On white
6.16
#514FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#514FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FD3
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FD3 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #514fd3; /* rgb */ color: rgb(81, 79, 211); /* oklch */ color: oklch(51.0% 0.197 277.5);
Tailwind
colors: {
custom: {
50: '#8f81e1',
500: '#514fd3',
950: '#000000',
},
}SCSS
$custom: #514fd3; $custom-light: #8f81e1; $custom-dark: #000000;
JSON
{
"hex": "#514fd3",
"rgb": {
"r": 81,
"g": 79,
"b": 211
},
"hsl": {
"h": 240.909,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.51024,
"c": 0.19716,
"h": 277.5
},
"luminance": 0.12044
}Semantic roles & 50–950 ramp
primary
#514FD3
secondary
#D9DAA4
accent
#E345E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83