#514883#514883
#514883 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.9% C 0.095 H 288.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #514883 |
|---|---|
| RGB | rgb(81, 72, 131) |
| HSL | hsl(249, 29%, 40%) |
| HSV | hsv(249, 45%, 51%) |
| CMYK | cmyk(38.2%, 45%, 0%, 48.6%) |
| CIE-LAB | lab(34.03, 18.86, -31.98) |
| CIE-LCH | lch(34.03, 37.13, 300.53°) |
| OKLab | oklab(43.88% 0.0308 -0.0901) |
| OKLCH | oklch(43.88% 0.095 288.9) |
| XYZ | xyz(9.8063, 8.0225, 22.5001) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.75
Dusk
#4E5481
ΔE00 5.28
Blueberry
#464196
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 9.49
Rebeccapurple
#663399
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514883 #7A8348
analogous
#485C83 #514883 #6F4883
triadic
#514883 #835148 #488351
tetradic
#514883 #83485C #7A8348 #48836F
square
#514883 #83485C #7A8348 #48836F
split-complementary
#514883 #836F48 #5C8348
monochromatic
#201D34 #39325C #514883 #6B60A8 #9088BE
Accessibility & contrast
On white
8.06
#514883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#514883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514883
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514883 | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#44535F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #514883; /* rgb */ color: rgb(81, 72, 131); /* oklch */ color: oklch(43.9% 0.095 288.9);
Tailwind
colors: {
custom: {
50: '#847ba7',
500: '#514883',
950: '#000000',
},
}SCSS
$custom: #514883; $custom-light: #847ba7; $custom-dark: #000000;
JSON
{
"hex": "#514883",
"rgb": {
"r": 81,
"g": 72,
"b": 131
},
"hsl": {
"h": 249.153,
"s": 29.064,
"l": 39.804
},
"oklch": {
"l": 0.43876,
"c": 0.09518,
"h": 288.9
},
"luminance": 0.08023
}Semantic roles & 50–950 ramp
primary
#514883
secondary
#A3A97E
accent
#C562B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F