#514B8F#514B8F
#514B8F is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.2% C 0.108 H 285.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #514B8F |
|---|---|
| RGB | rgb(81, 75, 143) |
| HSL | hsl(245, 31%, 43%) |
| HSV | hsv(245, 48%, 56%) |
| CMYK | cmyk(43.4%, 47.6%, 0%, 43.9%) |
| CIE-LAB | lab(35.53, 20.57, -36.97) |
| CIE-LCH | lch(35.53, 42.31, 299.10°) |
| OKLab | oklab(45.23% 0.0285 -0.1046) |
| OKLCH | oklch(45.23% 0.108 285.2) |
| XYZ | xyz(10.8659, 8.7642, 27.1004) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.84
Blueberry
#464196
ΔE00 4.17
Darkslateblue
#483D8B
ΔE00 4.43
Dusk
#4E5481
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 7.45
Dusky Blue
#475F94
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B8F #898F4B
analogous
#4B678F #514B8F #734B8F
triadic
#514B8F #8F514B #4B8F51
tetradic
#514B8F #8F4B67 #898F4B #4B8F73
square
#514B8F #8F4B67 #898F4B #4B8F73
split-complementary
#514B8F #8F734B #678F4B
monochromatic
#24213F #3A3667 #514B8F #6E68B0 #9490C5
Accessibility & contrast
On white
7.63
#514B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#514B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B8F
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B8F | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#2F528D
Tritanopia (blue-blind)
#3E5966
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #514b8f; /* rgb */ color: rgb(81, 75, 143); /* oklch */ color: oklch(45.2% 0.108 285.2);
Tailwind
colors: {
custom: {
50: '#857db0',
500: '#514b8f',
950: '#000000',
},
}SCSS
$custom: #514b8f; $custom-light: #857db0; $custom-dark: #000000;
JSON
{
"hex": "#514b8f",
"rgb": {
"r": 81,
"g": 75,
"b": 143
},
"hsl": {
"h": 245.294,
"s": 31.193,
"l": 42.745
},
"oklch": {
"l": 0.45234,
"c": 0.10844,
"h": 285.2
},
"luminance": 0.08765
}Semantic roles & 50–950 ramp
primary
#514B8F
secondary
#ADB185
accent
#C760BE
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0910
muted
#7C7B7F