#515BBF#515BBF
#515BBF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.155 H 275.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #515BBF |
|---|---|
| RGB | rgb(81, 91, 191) |
| HSL | hsl(235, 46%, 53%) |
| HSV | hsv(235, 58%, 75%) |
| CMYK | cmyk(57.6%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(42.75, 25.89, -53.94) |
| CIE-LCH | lch(42.75, 59.83, 295.64°) |
| OKLab | oklab(51.65% 0.0143 -0.1544) |
| OKLCH | oklch(51.65% 0.155 275.3) |
| XYZ | xyz(16.5354, 12.9919, 50.9165) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.61
Slate Blue
#6A5ACD
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.75
Azul
#1D5DEC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BBF #BFB551
analogous
#5192BF #515BBF #7E51BF
triadic
#515BBF #BF515B #5BBF51
tetradic
#515BBF #BF5192 #BFB551 #51BF7E
square
#515BBF #BF5192 #BFB551 #51BF7E
split-complementary
#515BBF #BF7E51 #92BF51
monochromatic
#282F6D #39429A #515BBF #7E85CF #AAAFE0
Accessibility & contrast
On white
5.84
#515BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#515BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BBF
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BBF | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#077284
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #515bbf; /* rgb */ color: rgb(81, 91, 191); /* oklch */ color: oklch(51.7% 0.155 275.3);
Tailwind
colors: {
custom: {
50: '#8b89d3',
500: '#515bbf',
950: '#000000',
},
}SCSS
$custom: #515bbf; $custom-light: #8b89d3; $custom-dark: #000000;
JSON
{
"hex": "#515bbf",
"rgb": {
"r": 81,
"g": 91,
"b": 191
},
"hsl": {
"h": 234.545,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.51653,
"c": 0.15504,
"h": 275.3
},
"luminance": 0.12993
}Semantic roles & 50–950 ramp
primary
#515BBF
secondary
#CEC99E
accent
#CA52D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83