#5189E5#5189E5
#5189E5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.6% C 0.151 H 259.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5189E5 |
|---|---|
| RGB | rgb(81, 137, 229) |
| HSL | hsl(217, 74%, 61%) |
| HSV | hsv(217, 65%, 90%) |
| CMYK | cmyk(64.6%, 40.2%, 0%, 10.2%) |
| CIE-LAB | lab(57.36, 10.33, -52.16) |
| CIE-LCH | lch(57.36, 53.18, 281.20°) |
| OKLab | oklab(63.55% -0.0267 -0.1486) |
| OKLCH | oklch(63.55% 0.151 259.8) |
| XYZ | xyz(26.4768, 25.2952, 77.6007) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.01
Dark Sky Blue
#448EE4
ΔE00 3.09
Soft Blue
#6488EA
ΔE00 3.50
Cornflowerblue
#6495ED
ΔE00 4.09
Azure
#007FFF
ΔE00 4.35
Faded Blue
#658CBB
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5189E5 #E5AD51
analogous
#51D3E5 #5189E5 #6351E5
triadic
#5189E5 #E55189 #89E551
tetradic
#5189E5 #E551D3 #E5AD51 #51E563
square
#5189E5 #E551D3 #E5AD51 #51E563
split-complementary
#5189E5 #E56351 #D3E551
monochromatic
#184DA3 #2066D8 #5189E5 #86ADED #BBD1F5
Accessibility & contrast
On white
3.47
#5189E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#5189E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5189E5
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5189E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5189E5 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5189e5; /* rgb */ color: rgb(81, 137, 229); /* oklch */ color: oklch(63.6% 0.151 259.8);
Tailwind
colors: {
custom: {
50: '#90aaee',
500: '#5189e5',
950: '#000000',
},
}SCSS
$custom: #5189e5; $custom-light: #90aaee; $custom-dark: #000000;
JSON
{
"hex": "#5189e5",
"rgb": {
"r": 81,
"g": 137,
"b": 229
},
"hsl": {
"h": 217.297,
"s": 74,
"l": 60.784
},
"oklch": {
"l": 0.63551,
"c": 0.15096,
"h": 259.8
},
"luminance": 0.25298
}Semantic roles & 50–950 ramp
primary
#5189E5
secondary
#E5D0AD
accent
#8B0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84