#5189E8#5189E8
#5189E8 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.7% C 0.155 H 260.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5189E8 |
|---|---|
| RGB | rgb(81, 137, 232) |
| HSL | hsl(218, 77%, 61%) |
| HSV | hsv(218, 65%, 91%) |
| CMYK | cmyk(65.1%, 40.9%, 0%, 9%) |
| CIE-LAB | lab(57.52, 11.36, -53.57) |
| CIE-LCH | lch(57.52, 54.76, 281.97°) |
| OKLab | oklab(63.73% -0.0261 -0.1527) |
| OKLCH | oklch(63.73% 0.155 260.3) |
| XYZ | xyz(26.8993, 25.4642, 79.8258) |
| Luminance | 0.2547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.83
Dark Sky Blue
#448EE4
ΔE00 3.27
Soft Blue
#6488EA
ΔE00 3.32
Cornflowerblue
#6495ED
ΔE00 3.97
Azure
#007FFF
ΔE00 4.33
Faded Blue
#658CBB
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5189E8 #E8B051
analogous
#51D5E8 #5189E8 #6551E8
triadic
#5189E8 #E85189 #89E851
tetradic
#5189E8 #E851D5 #E8B051 #51E865
square
#5189E8 #E851D5 #E8B051 #51E865
split-complementary
#5189E8 #E86551 #D5E851
monochromatic
#164CA8 #1D65DE #5189E8 #87AEEF #BDD2F6
Accessibility & contrast
On white
3.45
#5189E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#5189E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5189E8
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5189E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5189E8 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D92EC
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5189e8; /* rgb */ color: rgb(81, 137, 232); /* oklch */ color: oklch(63.7% 0.155 260.3);
Tailwind
colors: {
custom: {
50: '#90aaf0',
500: '#5189e8',
950: '#000000',
},
}SCSS
$custom: #5189e8; $custom-light: #90aaf0; $custom-dark: #000000;
JSON
{
"hex": "#5189e8",
"rgb": {
"r": 81,
"g": 137,
"b": 232
},
"hsl": {
"h": 217.748,
"s": 76.65,
"l": 61.373
},
"oklch": {
"l": 0.63731,
"c": 0.15493,
"h": 260.3
},
"luminance": 0.25467
}Semantic roles & 50–950 ramp
primary
#5189E8
secondary
#E7D2AE
accent
#8D0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84