#514992#514992
#514992 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.0% C 0.116 H 285.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #514992 |
|---|---|
| RGB | rgb(81, 73, 146) |
| HSL | hsl(247, 33%, 43%) |
| HSV | hsv(247, 50%, 57%) |
| CMYK | cmyk(44.5%, 50%, 0%, 42.7%) |
| CIE-LAB | lab(35.18, 22.78, -39.35) |
| CIE-LCH | lch(35.18, 45.46, 300.07°) |
| OKLab | oklab(45.03% 0.0315 -0.1116) |
| OKLCH | oklch(45.03% 0.116 285.7) |
| XYZ | xyz(10.9627, 8.5893, 28.2688) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.33
Darkslateblue
#483D8B
ΔE00 3.74
Twilight
#4E518B
ΔE00 3.77
Dusk
#4E5481
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 6.55
Rebeccapurple
#663399
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514992 #8A9249
analogous
#496692 #514992 #754992
triadic
#514992 #925149 #499251
tetradic
#514992 #924966 #8A9249 #499275
square
#514992 #924966 #8A9249 #499275
split-complementary
#514992 #927549 #669249
monochromatic
#242040 #3A3569 #514992 #6E66B2 #958FC7
Accessibility & contrast
On white
7.73
#514992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#514992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514992
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514992 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#295190
Tritanopia (blue-blind)
#3D5866
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #514992; /* rgb */ color: rgb(81, 73, 146); /* oklch */ color: oklch(45.0% 0.116 285.7);
Tailwind
colors: {
custom: {
50: '#867cb2',
500: '#514992',
950: '#000000',
},
}SCSS
$custom: #514992; $custom-light: #867cb2; $custom-dark: #000000;
JSON
{
"hex": "#514992",
"rgb": {
"r": 81,
"g": 73,
"b": 146
},
"hsl": {
"h": 246.575,
"s": 33.333,
"l": 42.941
},
"oklch": {
"l": 0.45033,
"c": 0.11596,
"h": 285.7
},
"luminance": 0.0859
}Semantic roles & 50–950 ramp
primary
#514992
secondary
#AEB384
accent
#C95EBE
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80