#514697#514697
#514697 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.128 H 286.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #514697 |
|---|---|
| RGB | rgb(81, 70, 151) |
| HSL | hsl(248, 37%, 43%) |
| HSV | hsv(248, 54%, 59%) |
| CMYK | cmyk(46.4%, 53.6%, 0%, 40.8%) |
| CIE-LAB | lab(34.73, 26.24, -43.11) |
| CIE-LCH | lch(34.73, 50.46, 301.33°) |
| OKLab | oklab(44.8% 0.0357 -0.1227) |
| OKLCH | oklch(44.8% 0.128 286.2) |
| XYZ | xyz(11.1678, 8.3635, 30.2980) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.37
Darkslateblue
#483D8B
ΔE00 3.16
Twilight
#4E518B
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 5.22
Rebeccapurple
#663399
ΔE00 7.49
Dusk
#4E5481
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514697 #8C9746
analogous
#466397 #514697 #794697
triadic
#514697 #975146 #469751
tetradic
#514697 #974663 #8C9746 #469779
square
#514697 #974663 #8C9746 #469779
split-complementary
#514697 #977946 #639746
monochromatic
#241F43 #3B336D #514697 #6F63B7 #958DCA
Accessibility & contrast
On white
7.86
#514697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#514697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514697
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514697 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#3B5767
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #514697; /* rgb */ color: rgb(81, 70, 151); /* oklch */ color: oklch(44.8% 0.128 286.2);
Tailwind
colors: {
custom: {
50: '#8779b6',
500: '#514697',
950: '#000000',
},
}SCSS
$custom: #514697; $custom-light: #8779b6; $custom-dark: #000000;
JSON
{
"hex": "#514697",
"rgb": {
"r": 81,
"g": 70,
"b": 151
},
"hsl": {
"h": 248.148,
"s": 36.652,
"l": 43.333
},
"oklch": {
"l": 0.44797,
"c": 0.12778,
"h": 286.2
},
"luminance": 0.08364
}Semantic roles & 50–950 ramp
primary
#514697
secondary
#AFB683
accent
#CD5BBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80