#514B90#514B90
#514B90 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.3% C 0.110 H 285.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #514B90 |
|---|---|
| RGB | rgb(81, 75, 144) |
| HSL | hsl(245, 32%, 43%) |
| HSV | hsv(245, 48%, 56%) |
| CMYK | cmyk(43.8%, 47.9%, 0%, 43.5%) |
| CIE-LAB | lab(35.59, 20.88, -37.48) |
| CIE-LCH | lch(35.59, 42.91, 299.12°) |
| OKLab | oklab(45.3% 0.0286 -0.1061) |
| OKLCH | oklch(45.3% 0.11 285.1) |
| XYZ | xyz(10.9420, 8.7947, 27.5012) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.92
Blueberry
#464196
ΔE00 4.04
Darkslateblue
#483D8B
ΔE00 4.40
Dusk
#4E5481
ΔE00 5.44
Ocean Blue
#4F42B5
ΔE00 7.26
Dusky Blue
#475F94
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B90 #8A904B
analogous
#4B6790 #514B90 #734B90
triadic
#514B90 #90514B #4B9051
tetradic
#514B90 #904B67 #8A904B #4B9073
square
#514B90 #904B67 #8A904B #4B9073
split-complementary
#514B90 #90734B #67904B
monochromatic
#242140 #3A3668 #514B90 #6E68B0 #9590C5
Accessibility & contrast
On white
7.61
#514B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#514B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B90
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B90 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#2E528E
Tritanopia (blue-blind)
#3E5966
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #514b90; /* rgb */ color: rgb(81, 75, 144); /* oklch */ color: oklch(45.3% 0.110 285.1);
Tailwind
colors: {
custom: {
50: '#857db1',
500: '#514b90',
950: '#000000',
},
}SCSS
$custom: #514b90; $custom-light: #857db1; $custom-dark: #000000;
JSON
{
"hex": "#514b90",
"rgb": {
"r": 81,
"g": 75,
"b": 144
},
"hsl": {
"h": 245.217,
"s": 31.507,
"l": 42.941
},
"oklch": {
"l": 0.45298,
"c": 0.10992,
"h": 285.1
},
"luminance": 0.08795
}Semantic roles & 50–950 ramp
primary
#514B90
secondary
#AEB185
accent
#C860BF
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0B0910
muted
#7C7B7F