#5155BB#5155BB
#5155BB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.157 H 277.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5155BB |
|---|---|
| RGB | rgb(81, 85, 187) |
| HSL | hsl(238, 44%, 53%) |
| HSV | hsv(238, 57%, 73%) |
| CMYK | cmyk(56.7%, 54.5%, 0%, 26.7%) |
| CIE-LAB | lab(40.95, 28.33, -54.52) |
| CIE-LCH | lch(40.95, 61.44, 297.46°) |
| OKLab | oklab(50.22% 0.0203 -0.1561) |
| OKLCH | oklch(50.22% 0.157 277.4) |
| XYZ | xyz(15.6086, 11.8331, 48.4656) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.31
Warm Blue
#4B57DB
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5155BB #BBB751
analogous
#518ABB #5155BB #8251BB
triadic
#5155BB #BB5155 #55BB51
tetradic
#5155BB #BB518A #BBB751 #51BB82
square
#5155BB #BB518A #BBB751 #51BB82
split-complementary
#5155BB #BB8251 #8ABB51
monochromatic
#292B69 #3A3E95 #5155BB #7D80CC #A9ABDD
Accessibility & contrast
On white
6.24
#5155BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5155BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5155BB
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5155BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5155BB | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#156D80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5155bb; /* rgb */ color: rgb(81, 85, 187); /* oklch */ color: oklch(50.2% 0.157 277.4);
Tailwind
colors: {
custom: {
50: '#8b84d0',
500: '#5155bb',
950: '#000000',
},
}SCSS
$custom: #5155bb; $custom-light: #8b84d0; $custom-dark: #000000;
JSON
{
"hex": "#5155bb",
"rgb": {
"r": 81,
"g": 85,
"b": 187
},
"hsl": {
"h": 237.736,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.50216,
"c": 0.15744,
"h": 277.4
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#5155BB
secondary
#CBC99D
accent
#CF54D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82