#514FB1#514FB1
#514FB1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.152 H 280.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #514FB1 |
|---|---|
| RGB | rgb(81, 79, 177) |
| HSL | hsl(241, 39%, 50%) |
| HSV | hsv(241, 55%, 69%) |
| CMYK | cmyk(54.2%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(38.75, 28.83, -52.19) |
| CIE-LCH | lch(38.75, 59.63, 298.92°) |
| OKLab | oklab(48.36% 0.0264 -0.1493) |
| OKLCH | oklch(48.36% 0.152 280) |
| XYZ | xyz(14.1227, 10.5147, 42.8718) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.00
Iris
#6258C4
ΔE00 4.56
Blueberry
#464196
ΔE00 5.65
Bluey Purple
#6241C7
ΔE00 6.20
Blue With A Hint Of Purple
#533CC6
ΔE00 6.30
Warm Blue
#4B57DB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FB1 #AFB14F
analogous
#4F7EB1 #514FB1 #824FB1
triadic
#514FB1 #B1514F #4FB151
tetradic
#514FB1 #B14F7E #AFB14F #4FB182
square
#514FB1 #B14F7E #AFB14F #4FB182
split-complementary
#514FB1 #B1824F #7EB14F
monochromatic
#2A295D #3D3C87 #514FB1 #7B79C4 #A5A4D7
Accessibility & contrast
On white
6.77
#514FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#514FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FB1
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FB1 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#256578
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #514fb1; /* rgb */ color: rgb(81, 79, 177); /* oklch */ color: oklch(48.4% 0.152 280.0);
Tailwind
colors: {
custom: {
50: '#8a80c9',
500: '#514fb1',
950: '#000000',
},
}SCSS
$custom: #514fb1; $custom-light: #8a80c9; $custom-dark: #000000;
JSON
{
"hex": "#514fb1",
"rgb": {
"r": 81,
"g": 79,
"b": 177
},
"hsl": {
"h": 241.224,
"s": 38.583,
"l": 50.196
},
"oklch": {
"l": 0.48356,
"c": 0.15164,
"h": 280
},
"luminance": 0.10516
}Semantic roles & 50–950 ramp
primary
#514FB1
secondary
#C3C498
accent
#CF59CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82