#514FCF#514FCF
#514FCF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.7% C 0.192 H 277.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #514FCF |
|---|---|
| RGB | rgb(81, 79, 207) |
| HSL | hsl(241, 57%, 56%) |
| HSV | hsv(241, 62%, 81%) |
| CMYK | cmyk(60.9%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(40.97, 38.61, -66.10) |
| CIE-LCH | lch(40.97, 76.55, 300.29°) |
| OKLab | oklab(50.69% 0.0259 -0.1902) |
| OKLCH | oklch(50.69% 0.192 277.8) |
| XYZ | xyz(17.4482, 11.8450, 60.3862) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.10
Iris
#6258C4
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FCF #CDCF4F
analogous
#4F8DCF #514FCF #914FCF
triadic
#514FCF #CF514F #4FCF51
tetradic
#514FCF #CF4F8D #CDCF4F #4FCF91
square
#514FCF #CF4F8D #CDCF4F #4FCF91
split-complementary
#514FCF #CF914F #8DCF4F
monochromatic
#252381 #3230B1 #514FCF #817FDC #B0AFE9
Accessibility & contrast
On white
6.23
#514FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#514FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FCF
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FCF | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #514fcf; /* rgb */ color: rgb(81, 79, 207); /* oklch */ color: oklch(50.7% 0.192 277.8);
Tailwind
colors: {
custom: {
50: '#8f81df',
500: '#514fcf',
950: '#000000',
},
}SCSS
$custom: #514fcf; $custom-light: #8f81df; $custom-dark: #000000;
JSON
{
"hex": "#514fcf",
"rgb": {
"r": 81,
"g": 79,
"b": 207
},
"hsl": {
"h": 240.938,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.50694,
"c": 0.19199,
"h": 277.8
},
"luminance": 0.11846
}Semantic roles & 50–950 ramp
primary
#514FCF
secondary
#D7D7A2
accent
#E047DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83