#515FC0#515FC0
#515FC0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.151 H 273.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #515FC0 |
|---|---|
| RGB | rgb(81, 95, 192) |
| HSL | hsl(232, 47%, 54%) |
| HSV | hsv(232, 58%, 75%) |
| CMYK | cmyk(57.8%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(43.86, 23.70, -52.75) |
| CIE-LCH | lch(43.86, 57.82, 294.19°) |
| OKLab | oklab(52.51% 0.0101 -0.1508) |
| OKLCH | oklch(52.51% 0.151 273.8) |
| XYZ | xyz(16.9969, 13.7383, 51.6150) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.47
Iris
#6258C4
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 5.66
Royal Blue
#4169E1
ΔE00 5.95
Light Indigo
#6D5ACF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FC0 #C0B251
analogous
#5196C0 #515FC0 #7A51C0
triadic
#515FC0 #C0515F #5FC051
tetradic
#515FC0 #C05196 #C0B251 #51C07A
square
#515FC0 #C05196 #C0B251 #51C07A
split-complementary
#515FC0 #C07A51 #96C051
monochromatic
#28316F #38459B #515FC0 #7E88D0 #ABB2E1
Accessibility & contrast
On white
5.60
#515FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#515FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FC0
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FC0 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6DC3
Deuteranopia (green-blind)
#1763BE
Tritanopia (blue-blind)
#017586
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #515fc0; /* rgb */ color: rgb(81, 95, 192); /* oklch */ color: oklch(52.5% 0.151 273.8);
Tailwind
colors: {
custom: {
50: '#8b8cd4',
500: '#515fc0',
950: '#000000',
},
}SCSS
$custom: #515fc0; $custom-light: #8b8cd4; $custom-dark: #000000;
JSON
{
"hex": "#515fc0",
"rgb": {
"r": 81,
"g": 95,
"b": 192
},
"hsl": {
"h": 232.432,
"s": 46.835,
"l": 53.529
},
"oklch": {
"l": 0.52505,
"c": 0.15116,
"h": 273.8
},
"luminance": 0.1374
}Semantic roles & 50–950 ramp
primary
#515FC0
secondary
#CEC89F
accent
#C651D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83