#514BBB#514BBB
#514BBB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.171 H 280.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #514BBB |
|---|---|
| RGB | rgb(81, 75, 187) |
| HSL | hsl(243, 45%, 51%) |
| HSV | hsv(243, 60%, 73%) |
| CMYK | cmyk(56.7%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(38.50, 34.56, -58.49) |
| CIE-LCH | lch(38.50, 67.94, 300.58°) |
| OKLab | oklab(48.4% 0.0305 -0.1679) |
| OKLCH | oklch(48.4% 0.171 280.3) |
| XYZ | xyz(14.8762, 10.3684, 48.2215) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.70
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.47
Iris
#6258C4
ΔE00 4.64
Blurple
#5539CC
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BBB #B5BB4B
analogous
#4B7DBB #514BBB #894BBB
triadic
#514BBB #BB514B #4BBB51
tetradic
#514BBB #BB4B7D #B5BB4B #4BBB89
square
#514BBB #BB4B7D #B5BB4B #4BBB89
split-complementary
#514BBB #BB894B #7DBB4B
monochromatic
#2A2665 #3C3792 #514BBB #7C77CC #A7A4DD
Accessibility & contrast
On white
6.83
#514BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#514BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BBB
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BBB | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#18667C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #514bbb; /* rgb */ color: rgb(81, 75, 187); /* oklch */ color: oklch(48.4% 0.171 280.3);
Tailwind
colors: {
custom: {
50: '#8b7dd0',
500: '#514bbb',
950: '#000000',
},
}SCSS
$custom: #514bbb; $custom-light: #8b7dd0; $custom-dark: #000000;
JSON
{
"hex": "#514bbb",
"rgb": {
"r": 81,
"g": 75,
"b": 187
},
"hsl": {
"h": 243.214,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.48395,
"c": 0.17064,
"h": 280.3
},
"luminance": 0.10369
}Semantic roles & 50–950 ramp
primary
#514BBB
secondary
#C7CA98
accent
#D553CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82