#5189E2#5189E2
#5189E2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.4% C 0.147 H 259.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5189E2 |
|---|---|
| RGB | rgb(81, 137, 226) |
| HSL | hsl(217, 71%, 60%) |
| HSV | hsv(217, 64%, 89%) |
| CMYK | cmyk(64.2%, 39.4%, 0%, 11.4%) |
| CIE-LAB | lab(57.20, 9.31, -50.75) |
| CIE-LCH | lch(57.20, 51.59, 280.40°) |
| OKLab | oklab(63.37% -0.0273 -0.1444) |
| OKLCH | oklch(63.37% 0.147 259.3) |
| XYZ | xyz(26.0616, 25.1291, 75.4137) |
| Luminance | 0.2513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.94
Dodger Blue
#3E82FC
ΔE00 3.22
Soft Blue
#6488EA
ΔE00 3.71
Cornflowerblue
#6495ED
ΔE00 4.23
Azure
#007FFF
ΔE00 4.39
Faded Blue
#658CBB
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5189E2 #E2AA51
analogous
#51D1E2 #5189E2 #6251E2
triadic
#5189E2 #E25189 #89E251
tetradic
#5189E2 #E251D1 #E2AA51 #51E262
square
#5189E2 #E251D1 #E2AA51 #51E262
split-complementary
#5189E2 #E26251 #D1E251
monochromatic
#1A4D9E #2367D3 #5189E2 #85ADEB #BAD0F3
Accessibility & contrast
On white
3.48
#5189E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#5189E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5189E2
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5189E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5189E2 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#009DAA
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5189e2; /* rgb */ color: rgb(81, 137, 226); /* oklch */ color: oklch(63.4% 0.147 259.3);
Tailwind
colors: {
custom: {
50: '#8faaeb',
500: '#5189e2',
950: '#000000',
},
}SCSS
$custom: #5189e2; $custom-light: #8faaeb; $custom-dark: #000000;
JSON
{
"hex": "#5189e2",
"rgb": {
"r": 81,
"g": 137,
"b": 226
},
"hsl": {
"h": 216.828,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.63374,
"c": 0.14699,
"h": 259.3
},
"luminance": 0.25132
}Semantic roles & 50–950 ramp
primary
#5189E2
secondary
#E3CEAC
accent
#8912D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84