#514BBD#514BBD
#514BBD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.173 H 280.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #514BBD |
|---|---|
| RGB | rgb(81, 75, 189) |
| HSL | hsl(243, 46%, 52%) |
| HSV | hsv(243, 60%, 74%) |
| CMYK | cmyk(57.1%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(38.65, 35.21, -59.42) |
| CIE-LCH | lch(38.65, 69.07, 300.65°) |
| OKLab | oklab(48.55% 0.0305 -0.1706) |
| OKLCH | oklch(48.55% 0.173 280.1) |
| XYZ | xyz(15.0918, 10.4546, 49.3569) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.79
Blue With A Hint Of Purple
#533CC6
ΔE00 4.30
Bluey Purple
#6241C7
ΔE00 4.35
Iris
#6258C4
ΔE00 4.57
Blurple
#5539CC
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BBD #B7BD4B
analogous
#4B7EBD #514BBD #8A4BBD
triadic
#514BBD #BD514B #4BBD51
tetradic
#514BBD #BD4B7E #B7BD4B #4BBD8A
square
#514BBD #BD4B7E #B7BD4B #4BBD8A
split-complementary
#514BBD #BD8A4B #7EBD4B
monochromatic
#292668 #3B3694 #514BBD #7C78CD #A8A5DE
Accessibility & contrast
On white
6.79
#514BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#514BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BBD
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BBD | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#14667D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #514bbd; /* rgb */ color: rgb(81, 75, 189); /* oklch */ color: oklch(48.6% 0.173 280.1);
Tailwind
colors: {
custom: {
50: '#8c7dd2',
500: '#514bbd',
950: '#000000',
},
}SCSS
$custom: #514bbd; $custom-light: #8c7dd2; $custom-dark: #000000;
JSON
{
"hex": "#514bbd",
"rgb": {
"r": 81,
"g": 75,
"b": 189
},
"hsl": {
"h": 243.158,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.48554,
"c": 0.17332,
"h": 280.1
},
"luminance": 0.10456
}Semantic roles & 50–950 ramp
primary
#514BBD
secondary
#C8CB99
accent
#D652CF
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83