#514993#514993
#514993 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.1% C 0.117 H 285.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #514993 |
|---|---|
| RGB | rgb(81, 73, 147) |
| HSL | hsl(246, 34%, 43%) |
| HSV | hsv(246, 50%, 58%) |
| CMYK | cmyk(44.9%, 50.3%, 0%, 42.4%) |
| CIE-LAB | lab(35.24, 23.09, -39.85) |
| CIE-LCH | lch(35.24, 46.06, 300.08°) |
| OKLab | oklab(45.1% 0.0316 -0.1131) |
| OKLCH | oklch(45.1% 0.117 285.6) |
| XYZ | xyz(11.0408, 8.6206, 28.6803) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 3.75
Twilight
#4E518B
ΔE00 3.86
Ocean Blue
#4F42B5
ΔE00 6.36
Dusk
#4E5481
ΔE00 6.39
Rebeccapurple
#663399
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514993 #8B9349
analogous
#496693 #514993 #764993
triadic
#514993 #935149 #499351
tetradic
#514993 #934966 #8B9349 #499376
square
#514993 #934966 #8B9349 #499376
split-complementary
#514993 #937649 #669349
monochromatic
#242041 #3A356A #514993 #6E66B3 #958FC7
Accessibility & contrast
On white
7.71
#514993 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#514993 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514993
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514993 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514993 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#285191
Tritanopia (blue-blind)
#3D5867
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #514993; /* rgb */ color: rgb(81, 73, 147); /* oklch */ color: oklch(45.1% 0.117 285.6);
Tailwind
colors: {
custom: {
50: '#867cb3',
500: '#514993',
950: '#000000',
},
}SCSS
$custom: #514993; $custom-light: #867cb3; $custom-dark: #000000;
JSON
{
"hex": "#514993",
"rgb": {
"r": 81,
"g": 73,
"b": 147
},
"hsl": {
"h": 246.486,
"s": 33.636,
"l": 43.137
},
"oklch": {
"l": 0.45099,
"c": 0.11744,
"h": 285.6
},
"luminance": 0.08621
}Semantic roles & 50–950 ramp
primary
#514993
secondary
#AEB385
accent
#CA5EBE
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80