#515BDF#515BDF
#515BDF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.198 H 274.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #515BDF |
|---|---|
| RGB | rgb(81, 91, 223) |
| HSL | hsl(236, 69%, 60%) |
| HSV | hsv(236, 64%, 87%) |
| CMYK | cmyk(63.7%, 59.2%, 0%, 12.5%) |
| CIE-LAB | lab(45.02, 36.58, -68.65) |
| CIE-LCH | lch(45.02, 77.79, 298.05°) |
| OKLab | oklab(54.06% 0.0151 -0.1976) |
| OKLCH | oklch(54.06% 0.198 274.4) |
| XYZ | xyz(20.4493, 14.5575, 71.5300) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.52
Dark Periwinkle
#665FD1
ΔE00 3.68
Azul
#1D5DEC
ΔE00 4.56
Slate Blue
#6A5ACD
ΔE00 4.68
Iris
#6258C4
ΔE00 4.70
Light Indigo
#6D5ACF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BDF #DFD551
analogous
#51A2DF #515BDF #8E51DF
triadic
#515BDF #DF515B #5BDF51
tetradic
#515BDF #DF51A2 #DFD551 #51DF8E
square
#515BDF #DF51A2 #DFD551 #51DF8E
split-complementary
#515BDF #DF8E51 #A2DF51
monochromatic
#1C2599 #2632CD #515BDF #858CE9 #B8BCF2
Accessibility & contrast
On white
5.37
#515BDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#515BDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BDF
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BDF | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515bdf; /* rgb */ color: rgb(81, 91, 223); /* oklch */ color: oklch(54.1% 0.198 274.4);
Tailwind
colors: {
custom: {
50: '#9189ea',
500: '#515bdf',
950: '#000000',
},
}SCSS
$custom: #515bdf; $custom-light: #9189ea; $custom-dark: #000000;
JSON
{
"hex": "#515bdf",
"rgb": {
"r": 81,
"g": 91,
"b": 223
},
"hsl": {
"h": 235.775,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.54064,
"c": 0.19821,
"h": 274.4
},
"luminance": 0.14559
}Semantic roles & 50–950 ramp
primary
#515BDF
secondary
#E1DEAA
accent
#DF3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84