#5161BB#5161BB
#5161BB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.141 H 273.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5161BB |
|---|---|
| RGB | rgb(81, 97, 187) |
| HSL | hsl(231, 44%, 53%) |
| HSV | hsv(231, 57%, 73%) |
| CMYK | cmyk(56.7%, 48.1%, 0%, 26.7%) |
| CIE-LAB | lab(44.07, 20.77, -49.50) |
| CIE-LCH | lch(44.07, 53.68, 292.76°) |
| OKLab | oklab(52.57% 0.0075 -0.1412) |
| OKLCH | oklch(52.57% 0.141 273) |
| XYZ | xyz(16.6347, 13.8854, 48.8076) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.27
Dark Periwinkle
#665FD1
ΔE00 5.37
Warm Blue
#4B57DB
ΔE00 5.48
French Blue
#436BAD
ΔE00 5.89
Dusky Blue
#475F94
ΔE00 5.97
Royal Blue
#4169E1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5161BB #BBAB51
analogous
#5196BB #5161BB #7651BB
triadic
#5161BB #BB5161 #61BB51
tetradic
#5161BB #BB5196 #BBAB51 #51BB76
square
#5161BB #BB5196 #BBAB51 #51BB76
split-complementary
#5161BB #BB7651 #96BB51
monochromatic
#293369 #3A4895 #5161BB #7D89CC #A9B1DD
Accessibility & contrast
On white
5.56
#5161BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5161BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5161BB
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5161BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5161BB | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#107585
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5161bb; /* rgb */ color: rgb(81, 97, 187); /* oklch */ color: oklch(52.6% 0.141 273.0);
Tailwind
colors: {
custom: {
50: '#8a8dd0',
500: '#5161bb',
950: '#000000',
},
}SCSS
$custom: #5161bb; $custom-light: #8a8dd0; $custom-dark: #000000;
JSON
{
"hex": "#5161bb",
"rgb": {
"r": 81,
"g": 97,
"b": 187
},
"hsl": {
"h": 230.943,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.52565,
"c": 0.14145,
"h": 273
},
"luminance": 0.13887
}Semantic roles & 50–950 ramp
primary
#5161BB
secondary
#CBC49D
accent
#C054D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82