#514796#514796
#514796 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.125 H 286.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #514796 |
|---|---|
| RGB | rgb(81, 71, 150) |
| HSL | hsl(248, 36%, 43%) |
| HSV | hsv(248, 53%, 59%) |
| CMYK | cmyk(46%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(34.92, 25.29, -42.20) |
| CIE-LCH | lch(34.92, 49.20, 300.94°) |
| OKLab | oklab(44.92% 0.0344 -0.12) |
| OKLCH | oklch(44.92% 0.125 286) |
| XYZ | xyz(11.1500, 8.4574, 29.8932) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.58
Darkslateblue
#483D8B
ΔE00 3.31
Twilight
#4E518B
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.53
Dusk
#4E5481
ΔE00 7.31
Rebeccapurple
#663399
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514796 #8C9647
analogous
#476496 #514796 #784796
triadic
#514796 #965147 #479651
tetradic
#514796 #964764 #8C9647 #479678
square
#514796 #964764 #8C9647 #479678
split-complementary
#514796 #967847 #649647
monochromatic
#242043 #3B336C #514796 #6F64B6 #958EC9
Accessibility & contrast
On white
7.80
#514796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#514796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514796
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514796 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#3B5867
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #514796; /* rgb */ color: rgb(81, 71, 150); /* oklch */ color: oklch(44.9% 0.125 286.0);
Tailwind
colors: {
custom: {
50: '#867ab5',
500: '#514796',
950: '#000000',
},
}SCSS
$custom: #514796; $custom-light: #867ab5; $custom-dark: #000000;
JSON
{
"hex": "#514796",
"rgb": {
"r": 81,
"g": 71,
"b": 150
},
"hsl": {
"h": 247.595,
"s": 35.747,
"l": 43.333
},
"oklch": {
"l": 0.44917,
"c": 0.12484,
"h": 286
},
"luminance": 0.08458
}Semantic roles & 50–950 ramp
primary
#514796
secondary
#AFB584
accent
#CC5CBE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80