#514B95#514B95
#514B95 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.6% C 0.117 H 284.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #514B95 |
|---|---|
| RGB | rgb(81, 75, 149) |
| HSL | hsl(245, 33%, 44%) |
| HSV | hsv(245, 50%, 58%) |
| CMYK | cmyk(45.6%, 49.7%, 0%, 41.6%) |
| CIE-LAB | lab(35.89, 22.43, -40.04) |
| CIE-LCH | lch(35.89, 45.89, 299.26°) |
| OKLab | oklab(45.63% 0.0292 -0.1136) |
| OKLCH | oklch(45.63% 0.117 284.4) |
| XYZ | xyz(11.3326, 8.9509, 29.5585) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.46
Blueberry
#464196
ΔE00 3.55
Darkslateblue
#483D8B
ΔE00 4.37
Dusk
#4E5481
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.34
Iris
#6258C4
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B95 #8F954B
analogous
#4B6A95 #514B95 #764B95
triadic
#514B95 #95514B #4B9551
tetradic
#514B95 #954B6A #8F954B #4B9576
square
#514B95 #954B6A #8F954B #4B9576
split-complementary
#514B95 #95764B #6A954B
monochromatic
#252244 #3B376C #514B95 #6F69B4 #9792C8
Accessibility & contrast
On white
7.53
#514B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#514B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B95
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B95 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#3B5A69
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #514b95; /* rgb */ color: rgb(81, 75, 149); /* oklch */ color: oklch(45.6% 0.117 284.4);
Tailwind
colors: {
custom: {
50: '#867db4',
500: '#514b95',
950: '#000000',
},
}SCSS
$custom: #514b95; $custom-light: #867db4; $custom-dark: #000000;
JSON
{
"hex": "#514b95",
"rgb": {
"r": 81,
"g": 75,
"b": 149
},
"hsl": {
"h": 244.865,
"s": 33.036,
"l": 43.922
},
"oklch": {
"l": 0.45625,
"c": 0.11732,
"h": 284.4
},
"luminance": 0.08951
}Semantic roles & 50–950 ramp
primary
#514B95
secondary
#B1B487
accent
#C95FC1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80