#515DC4#515DC4
#515DC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.159 H 274.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #515DC4 |
|---|---|
| RGB | rgb(81, 93, 196) |
| HSL | hsl(234, 49%, 54%) |
| HSV | hsv(234, 59%, 77%) |
| CMYK | cmyk(58.7%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(43.60, 26.30, -55.48) |
| CIE-LCH | lch(43.60, 61.39, 295.36°) |
| OKLab | oklab(52.4% 0.0125 -0.1589) |
| OKLCH | oklch(52.4% 0.159 274.5) |
| XYZ | xyz(17.2682, 13.5623, 53.9217) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.61
Iris
#6258C4
ΔE00 3.87
Dark Periwinkle
#665FD1
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 5.07
Light Indigo
#6D5ACF
ΔE00 5.65
Azul
#1D5DEC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515DC4 #C4B851
analogous
#5197C4 #515DC4 #7F51C4
triadic
#515DC4 #C4515D #5DC451
tetradic
#515DC4 #C45197 #C4B851 #51C47F
square
#515DC4 #C45197 #C4B851 #51C47F
split-complementary
#515DC4 #C47F51 #97C451
monochromatic
#272F73 #3742A1 #515DC4 #7F88D3 #ACB2E3
Accessibility & contrast
On white
5.66
#515DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#515DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515DC4
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515DC4 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515dc4; /* rgb */ color: rgb(81, 93, 196); /* oklch */ color: oklch(52.4% 0.159 274.5);
Tailwind
colors: {
custom: {
50: '#8c8ad6',
500: '#515dc4',
950: '#000000',
},
}SCSS
$custom: #515dc4; $custom-light: #8c8ad6; $custom-dark: #000000;
JSON
{
"hex": "#515dc4",
"rgb": {
"r": 81,
"g": 93,
"b": 196
},
"hsl": {
"h": 233.739,
"s": 49.356,
"l": 54.314
},
"oklch": {
"l": 0.52396,
"c": 0.15936,
"h": 274.5
},
"luminance": 0.13564
}Semantic roles & 50–950 ramp
primary
#515DC4
secondary
#D1CCA0
accent
#CA4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83