#514CBB#514CBB
#514CBB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.169 H 280.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #514CBB |
|---|---|
| RGB | rgb(81, 76, 187) |
| HSL | hsl(243, 45%, 52%) |
| HSV | hsv(243, 59%, 73%) |
| CMYK | cmyk(56.7%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(38.73, 33.95, -58.10) |
| CIE-LCH | lch(38.73, 67.29, 300.29°) |
| OKLab | oklab(48.57% 0.0295 -0.1667) |
| OKLCH | oklch(48.57% 0.169 280) |
| XYZ | xyz(14.9446, 10.5051, 48.2443) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.99
Iris
#6258C4
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 4.70
Bluey Purple
#6241C7
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 5.50
Blurple
#5539CC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514CBB #B6BB4C
analogous
#4C7FBB #514CBB #894CBB
triadic
#514CBB #BB514C #4CBB51
tetradic
#514CBB #BB4C7F #B6BB4C #4CBB89
square
#514CBB #BB4C7F #B6BB4C #4CBB89
split-complementary
#514CBB #BB894C #7FBB4C
monochromatic
#2A2766 #3C3892 #514CBB #7C78CC #A7A5DD
Accessibility & contrast
On white
6.77
#514CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#514CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514CBB
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514CBB | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#18667C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #514cbb; /* rgb */ color: rgb(81, 76, 187); /* oklch */ color: oklch(48.6% 0.169 280.0);
Tailwind
colors: {
custom: {
50: '#8b7ed0',
500: '#514cbb',
950: '#000000',
},
}SCSS
$custom: #514cbb; $custom-light: #8b7ed0; $custom-dark: #000000;
JSON
{
"hex": "#514cbb",
"rgb": {
"r": 81,
"g": 76,
"b": 187
},
"hsl": {
"h": 242.703,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.48571,
"c": 0.16934,
"h": 280
},
"luminance": 0.10506
}Semantic roles & 50–950 ramp
primary
#514CBB
secondary
#C8CA99
accent
#D553CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82