#515BCF#515BCF
#515BCF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.177 H 274.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #515BCF |
|---|---|
| RGB | rgb(81, 91, 207) |
| HSL | hsl(235, 57%, 56%) |
| HSV | hsv(235, 61%, 81%) |
| CMYK | cmyk(60.9%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(43.85, 31.23, -61.41) |
| CIE-LCH | lch(43.85, 68.90, 296.95°) |
| OKLab | oklab(52.83% 0.015 -0.1764) |
| OKLCH | oklch(52.83% 0.177 274.9) |
| XYZ | xyz(18.3932, 13.7350, 60.7012) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.98
Dark Periwinkle
#665FD1
ΔE00 3.58
Iris
#6258C4
ΔE00 3.60
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.94
Azul
#1D5DEC
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BCF #CFC551
analogous
#519ACF #515BCF #8651CF
triadic
#515BCF #CF515B #5BCF51
tetradic
#515BCF #CF519A #CFC551 #51CF86
square
#515BCF #CF519A #CFC551 #51CF86
split-complementary
#515BCF #CF8651 #9ACF51
monochromatic
#242B82 #313BB2 #515BCF #8188DC #B1B5E9
Accessibility & contrast
On white
5.60
#515BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#515BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BCF
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BCF | 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)
#006DD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #515bcf; /* rgb */ color: rgb(81, 91, 207); /* oklch */ color: oklch(52.8% 0.177 274.9);
Tailwind
colors: {
custom: {
50: '#8e89de',
500: '#515bcf',
950: '#000000',
},
}SCSS
$custom: #515bcf; $custom-light: #8e89de; $custom-dark: #000000;
JSON
{
"hex": "#515bcf",
"rgb": {
"r": 81,
"g": 91,
"b": 207
},
"hsl": {
"h": 235.238,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.52825,
"c": 0.177,
"h": 274.9
},
"luminance": 0.13736
}Semantic roles & 50–950 ramp
primary
#515BCF
secondary
#D8D4A4
accent
#D448E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83