#515EDB#515EDB
#515EDB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.189 H 273.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #515EDB |
|---|---|
| RGB | rgb(81, 94, 219) |
| HSL | hsl(234, 66%, 59%) |
| HSV | hsv(234, 63%, 86%) |
| CMYK | cmyk(63%, 57.1%, 0%, 14.1%) |
| CIE-LAB | lab(45.45, 33.39, -65.68) |
| CIE-LCH | lch(45.45, 73.68, 296.95°) |
| OKLab | oklab(54.29% 0.0125 -0.1889) |
| OKLCH | oklch(54.29% 0.189 273.8) |
| XYZ | xyz(20.1780, 14.8675, 68.8105) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Dark Periwinkle
#665FD1
ΔE00 3.54
Azul
#1D5DEC
ΔE00 4.39
Royal Blue
#4169E1
ΔE00 4.71
Iris
#6258C4
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515EDB #DBCE51
analogous
#51A3DB #515EDB #8951DB
triadic
#515EDB #DB515E #5EDB51
tetradic
#515EDB #DB51A3 #DBCE51 #51DB89
square
#515EDB #DB51A3 #DBCE51 #51DB89
split-complementary
#515EDB #DB8951 #A3DB51
monochromatic
#1E2993 #2938C6 #515EDB #848DE5 #B6BCF0
Accessibility & contrast
On white
5.28
#515EDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#515EDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515EDB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515EDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515EDB | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #515edb; /* rgb */ color: rgb(81, 94, 219); /* oklch */ color: oklch(54.3% 0.189 273.8);
Tailwind
colors: {
custom: {
50: '#908be7',
500: '#515edb',
950: '#000000',
},
}SCSS
$custom: #515edb; $custom-light: #908be7; $custom-dark: #000000;
JSON
{
"hex": "#515edb",
"rgb": {
"r": 81,
"g": 94,
"b": 219
},
"hsl": {
"h": 234.348,
"s": 65.714,
"l": 58.824
},
"oklch": {
"l": 0.5429,
"c": 0.18929,
"h": 273.8
},
"luminance": 0.14869
}Semantic roles & 50–950 ramp
primary
#515EDB
secondary
#DFDAA9
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84