#515CDC#515CDC
#515CDC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.193 H 274.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #515CDC |
|---|---|
| RGB | rgb(81, 92, 220) |
| HSL | hsl(235, 67%, 59%) |
| HSV | hsv(235, 63%, 86%) |
| CMYK | cmyk(63.2%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.04, 34.96, -66.92) |
| CIE-LCH | lch(45.04, 75.50, 297.59°) |
| OKLab | oklab(54.01% 0.0142 -0.1925) |
| OKLCH | oklch(54.01% 0.193 274.2) |
| XYZ | xyz(20.1345, 14.5692, 69.4474) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.64
Dark Periwinkle
#665FD1
ΔE00 3.54
Azul
#1D5DEC
ΔE00 4.52
Iris
#6258C4
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CDC #DCD151
analogous
#51A2DC #515CDC #8C51DC
triadic
#515CDC #DC515C #5CDC51
tetradic
#515CDC #DC51A2 #DCD151 #51DC8C
square
#515CDC #DC51A2 #DCD151 #51DC8C
split-complementary
#515CDC #DC8C51 #A2DC51
monochromatic
#1E2795 #2835C8 #515CDC #848CE6 #B7BBF0
Accessibility & contrast
On white
5.37
#515CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#515CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CDC
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CDC | 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)
#0071E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #515cdc; /* rgb */ color: rgb(81, 92, 220); /* oklch */ color: oklch(54.0% 0.193 274.2);
Tailwind
colors: {
custom: {
50: '#908ae8',
500: '#515cdc',
950: '#000000',
},
}SCSS
$custom: #515cdc; $custom-light: #908ae8; $custom-dark: #000000;
JSON
{
"hex": "#515cdc",
"rgb": {
"r": 81,
"g": 92,
"b": 220
},
"hsl": {
"h": 235.252,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.54006,
"c": 0.19307,
"h": 274.2
},
"luminance": 0.14571
}Semantic roles & 50–950 ramp
primary
#515CDC
secondary
#E0DBA9
accent
#DC3EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84