#515CDF#515CDF
#515CDF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.197 H 274.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #515CDF |
|---|---|
| RGB | rgb(81, 92, 223) |
| HSL | hsl(235, 69%, 60%) |
| HSV | hsv(235, 64%, 87%) |
| CMYK | cmyk(63.7%, 58.7%, 0%, 12.5%) |
| CIE-LAB | lab(45.26, 35.97, -68.26) |
| CIE-LCH | lch(45.26, 77.16, 297.78°) |
| OKLab | oklab(54.24% 0.0142 -0.1965) |
| OKLCH | oklch(54.24% 0.197 274.1) |
| XYZ | xyz(20.5354, 14.7296, 71.5586) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.77
Dark Periwinkle
#665FD1
ΔE00 3.65
Azul
#1D5DEC
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 4.77
Iris
#6258C4
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CDF #DFD451
analogous
#51A3DF #515CDF #8D51DF
triadic
#515CDF #DF515C #5CDF51
tetradic
#515CDF #DF51A3 #DFD451 #51DF8D
square
#515CDF #DF51A3 #DFD451 #51DF8D
split-complementary
#515CDF #DF8D51 #A3DF51
monochromatic
#1C2699 #2633CD #515CDF #858CE9 #B8BDF2
Accessibility & contrast
On white
5.32
#515CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#515CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CDF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CDF | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515cdf; /* rgb */ color: rgb(81, 92, 223); /* oklch */ color: oklch(54.2% 0.197 274.1);
Tailwind
colors: {
custom: {
50: '#908aea',
500: '#515cdf',
950: '#000000',
},
}SCSS
$custom: #515cdf; $custom-light: #908aea; $custom-dark: #000000;
JSON
{
"hex": "#515cdf",
"rgb": {
"r": 81,
"g": 92,
"b": 223
},
"hsl": {
"h": 235.352,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.54241,
"c": 0.197,
"h": 274.1
},
"luminance": 0.14731
}Semantic roles & 50–950 ramp
primary
#515CDF
secondary
#E1DDAA
accent
#DE3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84