#514BB8#514BB8
#514BB8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.167 H 280.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB8 |
|---|---|
| RGB | rgb(81, 75, 184) |
| HSL | hsl(243, 43%, 51%) |
| HSV | hsv(243, 59%, 72%) |
| CMYK | cmyk(56%, 59.2%, 0%, 27.8%) |
| CIE-LAB | lab(38.27, 33.59, -57.09) |
| CIE-LCH | lch(38.27, 66.24, 300.47°) |
| OKLab | oklab(48.16% 0.0306 -0.1638) |
| OKLCH | oklch(48.16% 0.167 280.6) |
| XYZ | xyz(14.5584, 10.2412, 46.5477) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.62
Blue With A Hint Of Purple
#533CC6
ΔE00 4.61
Bluey Purple
#6241C7
ΔE00 4.69
Iris
#6258C4
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 5.54
Blurple
#5539CC
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB8 #B2B84B
analogous
#4B7BB8 #514BB8 #874BB8
triadic
#514BB8 #B8514B #4BB851
tetradic
#514BB8 #B84B7B #B2B84B #4BB887
square
#514BB8 #B84B7B #B2B84B #4BB887
split-complementary
#514BB8 #B8874B #7BB84B
monochromatic
#2A2762 #3D388E #514BB8 #7B77C9 #A6A3DB
Accessibility & contrast
On white
6.89
#514BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#514BB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BB8
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB8 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#1D657A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514bb8; /* rgb */ color: rgb(81, 75, 184); /* oklch */ color: oklch(48.2% 0.167 280.6);
Tailwind
colors: {
custom: {
50: '#8b7dce',
500: '#514bb8',
950: '#000000',
},
}SCSS
$custom: #514bb8; $custom-light: #8b7dce; $custom-dark: #000000;
JSON
{
"hex": "#514bb8",
"rgb": {
"r": 81,
"g": 75,
"b": 184
},
"hsl": {
"h": 243.303,
"s": 43.426,
"l": 50.784
},
"oklch": {
"l": 0.4816,
"c": 0.16661,
"h": 280.6
},
"luminance": 0.10242
}Semantic roles & 50–950 ramp
primary
#514BB8
secondary
#C5C897
accent
#D355CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82