#514795#514795
#514795 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.123 H 286.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #514795 |
|---|---|
| RGB | rgb(81, 71, 149) |
| HSL | hsl(248, 35%, 43%) |
| HSV | hsv(248, 52%, 58%) |
| CMYK | cmyk(45.6%, 52.3%, 0%, 41.6%) |
| CIE-LAB | lab(34.85, 24.98, -41.69) |
| CIE-LCH | lch(34.85, 48.60, 300.93°) |
| OKLab | oklab(44.85% 0.0343 -0.1185) |
| OKLCH | oklch(44.85% 0.123 286.2) |
| XYZ | xyz(11.0698, 8.4253, 29.4709) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.64
Darkslateblue
#483D8B
ΔE00 3.26
Twilight
#4E518B
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 5.71
Dusk
#4E5481
ΔE00 7.19
Rebeccapurple
#663399
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514795 #8B9547
analogous
#476495 #514795 #784795
triadic
#514795 #955147 #479551
tetradic
#514795 #954764 #8B9547 #479578
square
#514795 #954764 #8B9547 #479578
split-complementary
#514795 #957847 #649547
monochromatic
#241F42 #3A336C #514795 #6E64B5 #958DC9
Accessibility & contrast
On white
7.82
#514795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#514795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514795
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514795 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#3C5867
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #514795; /* rgb */ color: rgb(81, 71, 149); /* oklch */ color: oklch(44.8% 0.123 286.2);
Tailwind
colors: {
custom: {
50: '#867ab5',
500: '#514795',
950: '#000000',
},
}SCSS
$custom: #514795; $custom-light: #867ab5; $custom-dark: #000000;
JSON
{
"hex": "#514795",
"rgb": {
"r": 81,
"g": 71,
"b": 149
},
"hsl": {
"h": 247.692,
"s": 35.455,
"l": 43.137
},
"oklch": {
"l": 0.44848,
"c": 0.12339,
"h": 286.2
},
"luminance": 0.08426
}Semantic roles & 50–950 ramp
primary
#514795
secondary
#AEB483
accent
#CB5CBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80