#515BB5#515BB5
#515BB5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.141 H 275.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #515BB5 |
|---|---|
| RGB | rgb(81, 91, 181) |
| HSL | hsl(234, 40%, 51%) |
| HSV | hsv(234, 55%, 71%) |
| CMYK | cmyk(55.2%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(42.10, 22.56, -49.15) |
| CIE-LCH | lch(42.10, 54.08, 294.66°) |
| OKLab | oklab(50.96% 0.0134 -0.1403) |
| OKLCH | oklch(50.96% 0.141 275.5) |
| XYZ | xyz(15.4722, 12.5666, 45.3174) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.33
Warm Blue
#4B57DB
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.66
Dusky Blue
#475F94
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 6.02
Light Indigo
#6D5ACF
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BB5 #B5AB51
analogous
#518DB5 #515BB5 #7951B5
triadic
#515BB5 #B5515B #5BB551
tetradic
#515BB5 #B5518D #B5AB51 #51B579
square
#515BB5 #B5518D #B5AB51 #51B579
split-complementary
#515BB5 #B57951 #8DB551
monochromatic
#2A2F62 #3C448D #515BB5 #7C83C7 #A7ACDA
Accessibility & contrast
On white
5.98
#515BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#515BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BB5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BB5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#215FB3
Tritanopia (blue-blind)
#1E6F7F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515bb5; /* rgb */ color: rgb(81, 91, 181); /* oklch */ color: oklch(51.0% 0.141 275.5);
Tailwind
colors: {
custom: {
50: '#8a89cc',
500: '#515bb5',
950: '#000000',
},
}SCSS
$custom: #515bb5; $custom-light: #8a89cc; $custom-dark: #000000;
JSON
{
"hex": "#515bb5",
"rgb": {
"r": 81,
"g": 91,
"b": 181
},
"hsl": {
"h": 234,
"s": 40.323,
"l": 51.373
},
"oklch": {
"l": 0.50956,
"c": 0.14092,
"h": 275.5
},
"luminance": 0.12568
}Semantic roles & 50–950 ramp
primary
#515BB5
secondary
#C7C39B
accent
#C458D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82