#515BB4#515BB4
#515BB4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.139 H 275.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #515BB4 |
|---|---|
| RGB | rgb(81, 91, 180) |
| HSL | hsl(234, 40%, 51%) |
| HSV | hsv(234, 55%, 71%) |
| CMYK | cmyk(55%, 49.4%, 0%, 29.4%) |
| CIE-LAB | lab(42.04, 22.23, -48.66) |
| CIE-LCH | lch(42.04, 53.50, 294.56°) |
| OKLab | oklab(50.89% 0.0133 -0.1388) |
| OKLCH | oklch(50.89% 0.139 275.5) |
| XYZ | xyz(15.3700, 12.5257, 44.7790) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.43
Warm Blue
#4B57DB
ΔE00 5.60
Dusky Blue
#475F94
ΔE00 5.77
Dark Periwinkle
#665FD1
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 6.12
Light Indigo
#6D5ACF
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BB4 #B4AA51
analogous
#518CB4 #515BB4 #7851B4
triadic
#515BB4 #B4515B #5BB451
tetradic
#515BB4 #B4518C #B4AA51 #51B478
square
#515BB4 #B4518C #B4AA51 #51B478
split-complementary
#515BB4 #B47851 #8CB451
monochromatic
#2A2F61 #3C448C #515BB4 #7C83C6 #A7ACD9
Accessibility & contrast
On white
5.99
#515BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#515BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BB4
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BB4 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3067B7
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#1F6F7F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #515bb4; /* rgb */ color: rgb(81, 91, 180); /* oklch */ color: oklch(50.9% 0.139 275.5);
Tailwind
colors: {
custom: {
50: '#8989cb',
500: '#515bb4',
950: '#000000',
},
}SCSS
$custom: #515bb4; $custom-light: #8989cb; $custom-dark: #000000;
JSON
{
"hex": "#515bb4",
"rgb": {
"r": 81,
"g": 91,
"b": 180
},
"hsl": {
"h": 233.939,
"s": 39.759,
"l": 51.176
},
"oklch": {
"l": 0.50888,
"c": 0.13948,
"h": 275.5
},
"luminance": 0.12527
}Semantic roles & 50–950 ramp
primary
#515BB4
secondary
#C6C29B
accent
#C458D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82