#514BB6#514BB6
#514BB6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.164 H 280.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB6 |
|---|---|
| RGB | rgb(81, 75, 182) |
| HSL | hsl(243, 42%, 50%) |
| HSV | hsv(243, 59%, 71%) |
| CMYK | cmyk(55.5%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(38.12, 32.95, -56.15) |
| CIE-LCH | lch(38.12, 65.11, 300.40°) |
| OKLab | oklab(48.01% 0.0306 -0.161) |
| OKLCH | oklch(48.01% 0.164 280.8) |
| XYZ | xyz(14.3503, 10.1580, 45.4514) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 4.85
Iris
#6258C4
ΔE00 4.88
Blueberry
#464196
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB6 #B0B64B
analogous
#4B7BB6 #514BB6 #864BB6
triadic
#514BB6 #B6514B #4BB651
tetradic
#514BB6 #B64B7B #B0B64B #4BB686
square
#514BB6 #B64B7B #B0B64B #4BB686
split-complementary
#514BB6 #B6864B #7BB64B
monochromatic
#2A2760 #3D388B #514BB6 #7B77C8 #A5A2D9
Accessibility & contrast
On white
6.93
#514BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#514BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BB6
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB6 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#206479
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514bb6; /* rgb */ color: rgb(81, 75, 182); /* oklch */ color: oklch(48.0% 0.164 280.8);
Tailwind
colors: {
custom: {
50: '#8b7dcd',
500: '#514bb6',
950: '#000000',
},
}SCSS
$custom: #514bb6; $custom-light: #8b7dcd; $custom-dark: #000000;
JSON
{
"hex": "#514bb6",
"rgb": {
"r": 81,
"g": 75,
"b": 182
},
"hsl": {
"h": 243.364,
"s": 42.292,
"l": 50.392
},
"oklch": {
"l": 0.48005,
"c": 0.16391,
"h": 280.8
},
"luminance": 0.10159
}Semantic roles & 50–950 ramp
primary
#514BB6
secondary
#C4C697
accent
#D256CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0913
muted
#7E7B82