#514B91#514B91
#514B91 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.4% C 0.111 H 284.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #514B91 |
|---|---|
| RGB | rgb(81, 75, 145) |
| HSL | hsl(245, 32%, 43%) |
| HSV | hsv(245, 48%, 57%) |
| CMYK | cmyk(44.1%, 48.3%, 0%, 43.1%) |
| CIE-LAB | lab(35.65, 21.19, -38.00) |
| CIE-LCH | lch(35.65, 43.50, 299.15°) |
| OKLab | oklab(45.36% 0.0287 -0.1076) |
| OKLCH | oklch(45.36% 0.111 284.9) |
| XYZ | xyz(11.0188, 8.8254, 27.9055) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.02
Blueberry
#464196
ΔE00 3.92
Darkslateblue
#483D8B
ΔE00 4.37
Dusk
#4E5481
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 7.07
Dusky Blue
#475F94
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B91 #8B914B
analogous
#4B6891 #514B91 #744B91
triadic
#514B91 #91514B #4B9151
tetradic
#514B91 #914B68 #8B914B #4B9174
square
#514B91 #914B68 #8B914B #4B9174
split-complementary
#514B91 #91744B #68914B
monochromatic
#242140 #3A3669 #514B91 #6E68B1 #9591C6
Accessibility & contrast
On white
7.59
#514B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#514B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B91
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B91 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#2D528F
Tritanopia (blue-blind)
#3D5967
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #514b91; /* rgb */ color: rgb(81, 75, 145); /* oklch */ color: oklch(45.4% 0.111 284.9);
Tailwind
colors: {
custom: {
50: '#867db2',
500: '#514b91',
950: '#000000',
},
}SCSS
$custom: #514b91; $custom-light: #867db2; $custom-dark: #000000;
JSON
{
"hex": "#514b91",
"rgb": {
"r": 81,
"g": 75,
"b": 145
},
"hsl": {
"h": 245.143,
"s": 31.818,
"l": 43.137
},
"oklch": {
"l": 0.45363,
"c": 0.11142,
"h": 284.9
},
"luminance": 0.08826
}Semantic roles & 50–950 ramp
primary
#514B91
secondary
#AEB286
accent
#C860BF
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80