#5159E0#5159E0
#5159E0 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.8% C 0.202 H 274.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5159E0 |
|---|---|
| RGB | rgb(81, 89, 224) |
| HSL | hsl(237, 70%, 60%) |
| HSV | hsv(237, 64%, 88%) |
| CMYK | cmyk(63.8%, 60.3%, 0%, 12.2%) |
| CIE-LAB | lab(44.62, 38.13, -69.87) |
| CIE-LCH | lch(44.62, 79.60, 298.62°) |
| OKLab | oklab(53.79% 0.0167 -0.2012) |
| OKLCH | oklch(53.79% 0.202 274.7) |
| XYZ | xyz(20.4158, 14.2742, 72.1859) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.24
Dark Periwinkle
#665FD1
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 4.60
Iris
#6258C4
ΔE00 4.62
Azul
#1D5DEC
ΔE00 4.81
Electric Blue
#0652FF
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5159E0 #E0D851
analogous
#51A1E0 #5159E0 #9051E0
triadic
#5159E0 #E05159 #59E051
tetradic
#5159E0 #E051A1 #E0D851 #51E090
square
#5159E0 #E051A1 #E0D851 #51E090
split-complementary
#5159E0 #E09051 #A1E051
monochromatic
#1C239B #252ECF #5159E0 #858BE9 #B9BCF3
Accessibility & contrast
On white
5.45
#5159E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5159E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5159E0
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5159E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5159E0 | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#0063DD
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5159e0; /* rgb */ color: rgb(81, 89, 224); /* oklch */ color: oklch(53.8% 0.202 274.7);
Tailwind
colors: {
custom: {
50: '#9188eb',
500: '#5159e0',
950: '#000000',
},
}SCSS
$custom: #5159e0; $custom-light: #9188eb; $custom-dark: #000000;
JSON
{
"hex": "#5159e0",
"rgb": {
"r": 81,
"g": 89,
"b": 224
},
"hsl": {
"h": 236.643,
"s": 69.756,
"l": 59.804
},
"oklch": {
"l": 0.53794,
"c": 0.20193,
"h": 274.7
},
"luminance": 0.14276
}Semantic roles & 50–950 ramp
primary
#5159E0
secondary
#E2DFAB
accent
#E33BED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84