#5189E7#5189E7
#5189E7 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.7% C 0.154 H 260.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5189E7 |
|---|---|
| RGB | rgb(81, 137, 231) |
| HSL | hsl(218, 76%, 61%) |
| HSV | hsv(218, 65%, 91%) |
| CMYK | cmyk(64.9%, 40.7%, 0%, 9.4%) |
| CIE-LAB | lab(57.47, 11.01, -53.10) |
| CIE-LCH | lch(57.47, 54.23, 281.72°) |
| OKLab | oklab(63.67% -0.0263 -0.1513) |
| OKLCH | oklch(63.67% 0.154 260.2) |
| XYZ | xyz(26.7577, 25.4076, 79.0798) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.89
Dark Sky Blue
#448EE4
ΔE00 3.21
Soft Blue
#6488EA
ΔE00 3.38
Cornflowerblue
#6495ED
ΔE00 4.01
Azure
#007FFF
ΔE00 4.34
Faded Blue
#658CBB
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5189E7 #E7AF51
analogous
#51D4E7 #5189E7 #6451E7
triadic
#5189E7 #E75189 #89E751
tetradic
#5189E7 #E751D4 #E7AF51 #51E764
square
#5189E7 #E751D4 #E7AF51 #51E764
split-complementary
#5189E7 #E76451 #D4E751
monochromatic
#174DA7 #1E65DC #5189E7 #87ADEE #BDD2F6
Accessibility & contrast
On white
3.45
#5189E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#5189E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5189E7
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5189E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5189E7 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#4784E5
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5189e7; /* rgb */ color: rgb(81, 137, 231); /* oklch */ color: oklch(63.7% 0.154 260.2);
Tailwind
colors: {
custom: {
50: '#90aaef',
500: '#5189e7',
950: '#000000',
},
}SCSS
$custom: #5189e7; $custom-light: #90aaef; $custom-dark: #000000;
JSON
{
"hex": "#5189e7",
"rgb": {
"r": 81,
"g": 137,
"b": 231
},
"hsl": {
"h": 217.6,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.63671,
"c": 0.1536,
"h": 260.2
},
"luminance": 0.2541
}Semantic roles & 50–950 ramp
primary
#5189E7
secondary
#E6D1AE
accent
#8C0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84