#515BBB#515BBB
#515BBB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.149 H 275.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #515BBB |
|---|---|
| RGB | rgb(81, 91, 187) |
| HSL | hsl(234, 44%, 53%) |
| HSV | hsv(234, 57%, 73%) |
| CMYK | cmyk(56.7%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(42.49, 24.55, -52.04) |
| CIE-LCH | lch(42.49, 57.54, 295.26°) |
| OKLab | oklab(51.37% 0.014 -0.1488) |
| OKLCH | oklch(51.37% 0.149 275.4) |
| XYZ | xyz(16.1012, 12.8182, 48.6298) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.85
Warm Blue
#4B57DB
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.46
Light Indigo
#6D5ACF
ΔE00 6.08
Dusky Blue
#475F94
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515BBB #BBB151
analogous
#5190BB #515BBB #7C51BB
triadic
#515BBB #BB515B #5BBB51
tetradic
#515BBB #BB5190 #BBB151 #51BB7C
square
#515BBB #BB5190 #BBB151 #51BB7C
split-complementary
#515BBB #BB7C51 #90BB51
monochromatic
#292F69 #3A4395 #515BBB #7D84CC #A9AEDD
Accessibility & contrast
On white
5.89
#515BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#515BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515BBB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515BBB | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#137182
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #515bbb; /* rgb */ color: rgb(81, 91, 187); /* oklch */ color: oklch(51.4% 0.149 275.4);
Tailwind
colors: {
custom: {
50: '#8a89d0',
500: '#515bbb',
950: '#000000',
},
}SCSS
$custom: #515bbb; $custom-light: #8a89d0; $custom-dark: #000000;
JSON
{
"hex": "#515bbb",
"rgb": {
"r": 81,
"g": 91,
"b": 187
},
"hsl": {
"h": 234.34,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.5137,
"c": 0.14942,
"h": 275.4
},
"luminance": 0.12819
}Semantic roles & 50–950 ramp
primary
#515BBB
secondary
#CBC79D
accent
#C854D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82