#5160BB#5160BB
#5160BB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.143 H 273.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5160BB |
|---|---|
| RGB | rgb(81, 96, 187) |
| HSL | hsl(232, 44%, 53%) |
| HSV | hsv(232, 57%, 73%) |
| CMYK | cmyk(56.7%, 48.7%, 0%, 26.7%) |
| CIE-LAB | lab(43.80, 21.40, -49.92) |
| CIE-LCH | lch(43.80, 54.32, 293.20°) |
| OKLab | oklab(52.36% 0.0085 -0.1425) |
| OKLCH | oklch(52.36% 0.143 273.4) |
| XYZ | xyz(16.5429, 13.7017, 48.7770) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 5.28
Dusky Blue
#475F94
ΔE00 6.02
French Blue
#436BAD
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5160BB #BBAC51
analogous
#5195BB #5160BB #7751BB
triadic
#5160BB #BB5160 #60BB51
tetradic
#5160BB #BB5195 #BBAC51 #51BB77
square
#5160BB #BB5195 #BBAC51 #51BB77
split-complementary
#5160BB #BB7751 #95BB51
monochromatic
#293269 #3A4795 #5160BB #7D88CC #A9B0DD
Accessibility & contrast
On white
5.61
#5160BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5160BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5160BB
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5160BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5160BB | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#117484
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5160bb; /* rgb */ color: rgb(81, 96, 187); /* oklch */ color: oklch(52.4% 0.143 273.4);
Tailwind
colors: {
custom: {
50: '#8a8cd0',
500: '#5160bb',
950: '#000000',
},
}SCSS
$custom: #5160bb; $custom-light: #8a8cd0; $custom-dark: #000000;
JSON
{
"hex": "#5160bb",
"rgb": {
"r": 81,
"g": 96,
"b": 187
},
"hsl": {
"h": 231.509,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.52363,
"c": 0.14277,
"h": 273.4
},
"luminance": 0.13703
}Semantic roles & 50–950 ramp
primary
#5160BB
secondary
#CBC49D
accent
#C254D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82