#514FCB#514FCB
#514FCB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.187 H 278.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #514FCB |
|---|---|
| RGB | rgb(81, 79, 203) |
| HSL | hsl(241, 54%, 55%) |
| HSV | hsv(241, 61%, 80%) |
| CMYK | cmyk(60.1%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(40.66, 37.31, -64.29) |
| CIE-LCH | lch(40.66, 74.34, 300.13°) |
| OKLab | oklab(50.37% 0.0261 -0.1849) |
| OKLCH | oklch(50.37% 0.187 278) |
| XYZ | xyz(16.9654, 11.6518, 57.8433) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.40
Iris
#6258C4
ΔE00 3.72
Ocean Blue
#4F42B5
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 4.95
Bluey Purple
#6241C7
ΔE00 4.97
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FCB #C9CB4F
analogous
#4F8BCB #514FCB #8F4FCB
triadic
#514FCB #CB514F #4FCB51
tetradic
#514FCB #CB4F8B #C9CB4F #4FCB8F
square
#514FCB #CB4F8B #C9CB4F #4FCB8F
split-complementary
#514FCB #CB8F4F #8BCB4F
monochromatic
#26247B #3432AA #514FCB #807ED9 #AEADE7
Accessibility & contrast
On white
6.31
#514FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#514FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FCB
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FCB | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #514fcb; /* rgb */ color: rgb(81, 79, 203); /* oklch */ color: oklch(50.4% 0.187 278.0);
Tailwind
colors: {
custom: {
50: '#8e80dc',
500: '#514fcb',
950: '#000000',
},
}SCSS
$custom: #514fcb; $custom-light: #8e80dc; $custom-dark: #000000;
JSON
{
"hex": "#514fcb",
"rgb": {
"r": 81,
"g": 79,
"b": 203
},
"hsl": {
"h": 240.968,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.50368,
"c": 0.18676,
"h": 278
},
"luminance": 0.11653
}Semantic roles & 50–950 ramp
primary
#514FCB
secondary
#D4D5A1
accent
#DE4ADB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83