#515FBA#515FBA
#515FBA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.143 H 273.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #515FBA |
|---|---|
| RGB | rgb(81, 95, 186) |
| HSL | hsl(232, 43%, 52%) |
| HSV | hsv(232, 56%, 73%) |
| CMYK | cmyk(56.5%, 48.9%, 0%, 27.1%) |
| CIE-LAB | lab(43.47, 21.70, -49.87) |
| CIE-LCH | lch(43.47, 54.38, 293.51°) |
| OKLab | oklab(52.1% 0.0095 -0.1423) |
| OKLCH | oklch(52.1% 0.143 273.8) |
| XYZ | xyz(16.3456, 13.4777, 48.1850) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.26
Dusky Blue
#475F94
ΔE00 5.97
Slate Blue
#6A5ACD
ΔE00 6.12
French Blue
#436BAD
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FBA #BAAC51
analogous
#5194BA #515FBA #7851BA
triadic
#515FBA #BA515F #5FBA51
tetradic
#515FBA #BA5194 #BAAC51 #51BA78
square
#515FBA #BA5194 #BAAC51 #51BA78
split-complementary
#515FBA #BA7851 #94BA51
monochromatic
#293168 #3A4693 #515FBA #7D87CB #A9B0DD
Accessibility & contrast
On white
5.68
#515FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#515FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FBA
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FBA | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#137383
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515fba; /* rgb */ color: rgb(81, 95, 186); /* oklch */ color: oklch(52.1% 0.143 273.8);
Tailwind
colors: {
custom: {
50: '#8a8ccf',
500: '#515fba',
950: '#000000',
},
}SCSS
$custom: #515fba; $custom-light: #8a8ccf; $custom-dark: #000000;
JSON
{
"hex": "#515fba",
"rgb": {
"r": 81,
"g": 95,
"b": 186
},
"hsl": {
"h": 232,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.52095,
"c": 0.14267,
"h": 273.8
},
"luminance": 0.13479
}Semantic roles & 50–950 ramp
primary
#515FBA
secondary
#CAC49D
accent
#C255D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82