#515AC8#515AC8
#515AC8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.169 H 275.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #515AC8 |
|---|---|
| RGB | rgb(81, 90, 200) |
| HSL | hsl(235, 52%, 55%) |
| HSV | hsv(235, 60%, 78%) |
| CMYK | cmyk(59.5%, 55%, 0%, 21.6%) |
| CIE-LAB | lab(43.11, 29.52, -58.58) |
| CIE-LCH | lch(43.11, 65.60, 296.74°) |
| OKLab | oklab(52.12% 0.0158 -0.168) |
| OKLCH | oklch(52.12% 0.169 275.4) |
| XYZ | xyz(17.4714, 13.2305, 56.2654) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.68
Iris
#6258C4
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 5.11
Azul
#1D5DEC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515AC8 #C8BF51
analogous
#5196C8 #515AC8 #8351C8
triadic
#515AC8 #C8515A #5AC851
tetradic
#515AC8 #C85196 #C8BF51 #51C883
square
#515AC8 #C85196 #C8BF51 #51C883
split-complementary
#515AC8 #C88351 #96C851
monochromatic
#262C79 #353DA7 #515AC8 #8086D7 #AEB2E5
Accessibility & contrast
On white
5.76
#515AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#515AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515AC8
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515AC8 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066BCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #515ac8; /* rgb */ color: rgb(81, 90, 200); /* oklch */ color: oklch(52.1% 0.169 275.4);
Tailwind
colors: {
custom: {
50: '#8d88d9',
500: '#515ac8',
950: '#000000',
},
}SCSS
$custom: #515ac8; $custom-light: #8d88d9; $custom-dark: #000000;
JSON
{
"hex": "#515ac8",
"rgb": {
"r": 81,
"g": 90,
"b": 200
},
"hsl": {
"h": 235.462,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.52115,
"c": 0.16878,
"h": 275.4
},
"luminance": 0.13232
}Semantic roles & 50–950 ramp
primary
#515AC8
secondary
#D3D0A1
accent
#D14CDB
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83