#514E95#514E95
#514E95 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.2% C 0.113 H 283.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #514E95 |
|---|---|
| RGB | rgb(81, 78, 149) |
| HSL | hsl(243, 31%, 45%) |
| HSV | hsv(243, 48%, 58%) |
| CMYK | cmyk(45.6%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(36.68, 20.51, -38.77) |
| CIE-LCH | lch(36.68, 43.86, 297.88°) |
| OKLab | oklab(46.22% 0.0253 -0.1099) |
| OKLCH | oklch(46.22% 0.113 283) |
| XYZ | xyz(11.5409, 9.3675, 29.6280) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.63
Blueberry
#464196
ΔE00 4.41
Darkslateblue
#483D8B
ΔE00 5.32
Dusk
#4E5481
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.95
Dusky Blue
#475F94
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514E95 #92954E
analogous
#4E6F95 #514E95 #754E95
triadic
#514E95 #95514E #4E9551
tetradic
#514E95 #954E6F #92954E #4E9575
square
#514E95 #954E6F #92954E #4E9575
split-complementary
#514E95 #95754E #6F954E
monochromatic
#252445 #3B396D #514E95 #706DB3 #9896C8
Accessibility & contrast
On white
7.31
#514E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#514E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514E95
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514E95 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315998
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#3B5D6A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #514e95; /* rgb */ color: rgb(81, 78, 149); /* oklch */ color: oklch(46.2% 0.113 283.0);
Tailwind
colors: {
custom: {
50: '#867fb4',
500: '#514e95',
950: '#000000',
},
}SCSS
$custom: #514e95; $custom-light: #867fb4; $custom-dark: #000000;
JSON
{
"hex": "#514e95",
"rgb": {
"r": 81,
"g": 78,
"b": 149
},
"hsl": {
"h": 242.535,
"s": 31.278,
"l": 44.51
},
"oklch": {
"l": 0.46223,
"c": 0.11277,
"h": 283
},
"luminance": 0.09368
}Semantic roles & 50–950 ramp
primary
#514E95
secondary
#B3B48A
accent
#C760C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80