#515FCF#515FCF
#515FCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.172 H 273.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #515FCF |
|---|---|
| RGB | rgb(81, 95, 207) |
| HSL | hsl(233, 57%, 56%) |
| HSV | hsv(233, 61%, 81%) |
| CMYK | cmyk(60.9%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(44.85, 28.74, -59.79) |
| CIE-LCH | lch(44.85, 66.34, 295.67°) |
| OKLab | oklab(53.58% 0.0112 -0.1715) |
| OKLCH | oklch(53.58% 0.172 273.7) |
| XYZ | xyz(18.7443, 14.4372, 60.8183) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.93
Dark Periwinkle
#665FD1
ΔE00 3.67
Iris
#6258C4
ΔE00 4.40
Royal Blue
#4169E1
ΔE00 4.82
Azul
#1D5DEC
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FCF #CFC151
analogous
#519ECF #515FCF #8251CF
triadic
#515FCF #CF515F #5FCF51
tetradic
#515FCF #CF519E #CFC151 #51CF82
square
#515FCF #CF519E #CFC151 #51CF82
split-complementary
#515FCF #CF8251 #9ECF51
monochromatic
#242E82 #313FB2 #515FCF #818BDC #B1B7E9
Accessibility & contrast
On white
5.40
#515FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#515FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FCF
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FCF | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515fcf; /* rgb */ color: rgb(81, 95, 207); /* oklch */ color: oklch(53.6% 0.172 273.7);
Tailwind
colors: {
custom: {
50: '#8e8cde',
500: '#515fcf',
950: '#000000',
},
}SCSS
$custom: #515fcf; $custom-light: #8e8cde; $custom-dark: #000000;
JSON
{
"hex": "#515fcf",
"rgb": {
"r": 81,
"g": 95,
"b": 207
},
"hsl": {
"h": 233.333,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.53575,
"c": 0.17191,
"h": 273.7
},
"luminance": 0.14439
}Semantic roles & 50–950 ramp
primary
#515FCF
secondary
#D8D2A4
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83