#515BBD#515BBD
#515BBD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.152 H 275.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #515BBD |
|---|---|
| RGB | rgb(81, 91, 189) |
| HSL | hsl(234, 45%, 53%) |
| HSV | hsv(234, 57%, 74%) |
| CMYK | cmyk(57.1%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(42.62, 25.22, -52.99) |
| CIE-LCH | lch(42.62, 58.69, 295.45°) |
| OKLab | oklab(51.51% 0.0141 -0.1516) |
| OKLCH | oklch(51.51% 0.152 275.3) |
| XYZ | xyz(16.3168, 12.9045, 49.7652) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.73
Warm Blue
#4B57DB
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BBD #BDB351
analogous
#5191BD #515BBD #7D51BD
triadic
#515BBD #BD515B #5BBD51
tetradic
#515BBD #BD5191 #BDB351 #51BD7D
square
#515BBD #BD5191 #BDB351 #51BD7D
split-complementary
#515BBD #BD7D51 #91BD51
monochromatic
#292F6B #394297 #515BBD #7D85CE #AAAFDF
Accessibility & contrast
On white
5.86
#515BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#515BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BBD
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BBD | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#0E60BB
Tritanopia (blue-blind)
#0E7183
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #515bbd; /* rgb */ color: rgb(81, 91, 189); /* oklch */ color: oklch(51.5% 0.152 275.3);
Tailwind
colors: {
custom: {
50: '#8b89d1',
500: '#515bbd',
950: '#000000',
},
}SCSS
$custom: #515bbd; $custom-light: #8b89d1; $custom-dark: #000000;
JSON
{
"hex": "#515bbd",
"rgb": {
"r": 81,
"g": 91,
"b": 189
},
"hsl": {
"h": 234.444,
"s": 45,
"l": 52.941
},
"oklch": {
"l": 0.51511,
"c": 0.15224,
"h": 275.3
},
"luminance": 0.12906
}Semantic roles & 50–950 ramp
primary
#515BBD
secondary
#CCC89E
accent
#C953D5
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82