#514B8C#514B8C
#514B8C is a mid, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.104 H 285.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #514B8C |
|---|---|
| RGB | rgb(81, 75, 140) |
| HSL | hsl(246, 30%, 42%) |
| HSV | hsv(246, 46%, 55%) |
| CMYK | cmyk(42.1%, 46.4%, 0%, 45.1%) |
| CIE-LAB | lab(35.35, 19.65, -35.42) |
| CIE-LCH | lch(35.35, 40.50, 299.02°) |
| OKLab | oklab(45.04% 0.028 -0.1001) |
| OKLCH | oklch(45.04% 0.104 285.6) |
| XYZ | xyz(10.6417, 8.6745, 25.9195) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.66
Blueberry
#464196
ΔE00 4.59
Darkslateblue
#483D8B
ΔE00 4.61
Dusk
#4E5481
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 8.04
Dusky Blue
#475F94
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B8C #868C4B
analogous
#4B668C #514B8C #714B8C
triadic
#514B8C #8C514B #4B8C51
tetradic
#514B8C #8C4B66 #868C4B #4B8C71
square
#514B8C #8C4B66 #868C4B #4B8C71
split-complementary
#514B8C #8C714B #668C4B
monochromatic
#23203C #3A3664 #514B8C #6D67AD #938FC3
Accessibility & contrast
On white
7.68
#514B8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#514B8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B8C
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B8C | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#405864
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #514b8c; /* rgb */ color: rgb(81, 75, 140); /* oklch */ color: oklch(45.0% 0.104 285.6);
Tailwind
colors: {
custom: {
50: '#857dae',
500: '#514b8c',
950: '#000000',
},
}SCSS
$custom: #514b8c; $custom-light: #857dae; $custom-dark: #000000;
JSON
{
"hex": "#514b8c",
"rgb": {
"r": 81,
"g": 75,
"b": 140
},
"hsl": {
"h": 245.538,
"s": 30.233,
"l": 42.157
},
"oklch": {
"l": 0.45043,
"c": 0.10395,
"h": 285.6
},
"luminance": 0.08675
}Semantic roles & 50–950 ramp
primary
#514B8C
secondary
#ABAF84
accent
#C661BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F