#514997#514997
#514997 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.123 H 285.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #514997 |
|---|---|
| RGB | rgb(81, 73, 151) |
| HSL | hsl(246, 35%, 44%) |
| HSV | hsv(246, 52%, 59%) |
| CMYK | cmyk(46.4%, 51.7%, 0%, 40.8%) |
| CIE-LAB | lab(35.50, 24.33, -41.88) |
| CIE-LCH | lch(35.50, 48.43, 300.16°) |
| OKLab | oklab(45.37% 0.032 -0.119) |
| OKLCH | oklch(45.37% 0.123 285) |
| XYZ | xyz(11.3602, 8.7483, 30.3622) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.92
Darkslateblue
#483D8B
ΔE00 3.87
Twilight
#4E518B
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 5.64
Dusk
#4E5481
ΔE00 6.88
Iris
#6258C4
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514997 #8F9749
analogous
#496897 #514997 #784997
triadic
#514997 #975149 #499751
tetradic
#514997 #974968 #8F9749 #499778
square
#514997 #974968 #8F9749 #499778
split-complementary
#514997 #977849 #689749
monochromatic
#252144 #3B356E #514997 #6F67B6 #9791CA
Accessibility & contrast
On white
7.64
#514997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#514997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514997
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514997 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#3A5A69
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #514997; /* rgb */ color: rgb(81, 73, 151); /* oklch */ color: oklch(45.4% 0.123 285.0);
Tailwind
colors: {
custom: {
50: '#867cb6',
500: '#514997',
950: '#000000',
},
}SCSS
$custom: #514997; $custom-light: #867cb6; $custom-dark: #000000;
JSON
{
"hex": "#514997",
"rgb": {
"r": 81,
"g": 73,
"b": 151
},
"hsl": {
"h": 246.154,
"s": 34.821,
"l": 43.922
},
"oklch": {
"l": 0.4537,
"c": 0.12327,
"h": 285
},
"luminance": 0.08749
}Semantic roles & 50–950 ramp
primary
#514997
secondary
#B1B686
accent
#CB5DC0
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0911
muted
#7D7B80