#5159BB#5159BB
#5159BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.152 H 276.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5159BB |
|---|---|
| RGB | rgb(81, 89, 187) |
| HSL | hsl(235, 44%, 53%) |
| HSV | hsv(235, 57%, 73%) |
| CMYK | cmyk(56.7%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(41.97, 25.82, -52.87) |
| CIE-LCH | lch(41.97, 58.84, 296.03°) |
| OKLab | oklab(50.98% 0.0161 -0.1512) |
| OKLCH | oklch(50.98% 0.152 276.1) |
| XYZ | xyz(15.9325, 12.4808, 48.5735) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.55
Warm Blue
#4B57DB
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5159BB #BBB351
analogous
#518EBB #5159BB #7E51BB
triadic
#5159BB #BB5159 #59BB51
tetradic
#5159BB #BB518E #BBB351 #51BB7E
square
#5159BB #BB518E #BBB351 #51BB7E
split-complementary
#5159BB #BB7E51 #8EBB51
monochromatic
#292E69 #3A4195 #5159BB #7D83CC #A9ADDD
Accessibility & contrast
On white
6.01
#5159BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5159BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5159BB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5159BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5159BB | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#146F81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5159bb; /* rgb */ color: rgb(81, 89, 187); /* oklch */ color: oklch(51.0% 0.152 276.1);
Tailwind
colors: {
custom: {
50: '#8b87d0',
500: '#5159bb',
950: '#000000',
},
}SCSS
$custom: #5159bb; $custom-light: #8b87d0; $custom-dark: #000000;
JSON
{
"hex": "#5159bb",
"rgb": {
"r": 81,
"g": 89,
"b": 187
},
"hsl": {
"h": 235.472,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.50981,
"c": 0.15209,
"h": 276.1
},
"luminance": 0.12482
}Semantic roles & 50–950 ramp
primary
#5159BB
secondary
#CBC79D
accent
#CA54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82