#514DAF#514DAF
#514DAF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.152 H 280.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #514DAF |
|---|---|
| RGB | rgb(81, 77, 175) |
| HSL | hsl(242, 39%, 49%) |
| HSV | hsv(242, 56%, 69%) |
| CMYK | cmyk(53.7%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(38.11, 29.44, -52.04) |
| CIE-LCH | lch(38.11, 59.79, 299.50°) |
| OKLab | oklab(47.84% 0.0285 -0.1489) |
| OKLCH | oklch(47.84% 0.152 280.8) |
| XYZ | xyz(13.7827, 10.1514, 41.7823) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.48
Iris
#6258C4
ΔE00 5.03
Blueberry
#464196
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514DAF #ABAF4D
analogous
#4D7AAF #514DAF #824DAF
triadic
#514DAF #AF514D #4DAF51
tetradic
#514DAF #AF4D7A #ABAF4D #4DAF82
square
#514DAF #AF4D7A #ABAF4D #4DAF82
split-complementary
#514DAF #AF824D #7AAF4D
monochromatic
#2A285A #3D3A85 #514DAF #7976C3 #A3A1D6
Accessibility & contrast
On white
6.93
#514DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#514DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514DAF
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514DAF | 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)
#095DB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#286376
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514daf; /* rgb */ color: rgb(81, 77, 175); /* oklch */ color: oklch(47.8% 0.152 280.8);
Tailwind
colors: {
custom: {
50: '#897fc7',
500: '#514daf',
950: '#000000',
},
}SCSS
$custom: #514daf; $custom-light: #897fc7; $custom-dark: #000000;
JSON
{
"hex": "#514daf",
"rgb": {
"r": 81,
"g": 77,
"b": 175
},
"hsl": {
"h": 242.449,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.47837,
"c": 0.1516,
"h": 280.8
},
"luminance": 0.10152
}Semantic roles & 50–950 ramp
primary
#514DAF
secondary
#C1C395
accent
#CF59CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82