#515FDF#515FDF
#515FDF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.193 H 273.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #515FDF |
|---|---|
| RGB | rgb(81, 95, 223) |
| HSL | hsl(234, 69%, 60%) |
| HSV | hsv(234, 64%, 87%) |
| CMYK | cmyk(63.7%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(45.99, 34.12, -67.08) |
| CIE-LCH | lch(45.99, 75.26, 296.96°) |
| OKLab | oklab(54.78% 0.0117 -0.193) |
| OKLCH | oklch(54.78% 0.193 273.5) |
| XYZ | xyz(20.8004, 15.2597, 71.6470) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.61
Dark Periwinkle
#665FD1
ΔE00 3.73
Azul
#1D5DEC
ΔE00 4.26
Royal Blue
#4169E1
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 5.17
Iris
#6258C4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FDF #DFD151
analogous
#51A6DF #515FDF #8A51DF
triadic
#515FDF #DF515F #5FDF51
tetradic
#515FDF #DF51A6 #DFD151 #51DF8A
square
#515FDF #DF51A6 #DFD151 #51DF8A
split-complementary
#515FDF #DF8A51 #A6DF51
monochromatic
#1C2999 #2636CD #515FDF #858FE9 #B8BEF2
Accessibility & contrast
On white
5.18
#515FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#515FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FDF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FDF | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #515fdf; /* rgb */ color: rgb(81, 95, 223); /* oklch */ color: oklch(54.8% 0.193 273.5);
Tailwind
colors: {
custom: {
50: '#908cea',
500: '#515fdf',
950: '#000000',
},
}SCSS
$custom: #515fdf; $custom-light: #908cea; $custom-dark: #000000;
JSON
{
"hex": "#515fdf",
"rgb": {
"r": 81,
"g": 95,
"b": 223
},
"hsl": {
"h": 234.085,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.5478,
"c": 0.19334,
"h": 273.5
},
"luminance": 0.15261
}Semantic roles & 50–950 ramp
primary
#515FDF
secondary
#E1DCAA
accent
#DA3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84