#5181F6#5181F6
#5181F6 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.0% C 0.183 H 264.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5181F6 |
|---|---|
| RGB | rgb(81, 129, 246) |
| HSL | hsl(223, 90%, 64%) |
| HSV | hsv(223, 67%, 96%) |
| CMYK | cmyk(67.1%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(56.19, 21.03, -63.48) |
| CIE-LCH | lch(56.19, 66.87, 288.33°) |
| OKLab | oklab(62.97% -0.0164 -0.1819) |
| OKLCH | oklch(62.97% 0.183 264.9) |
| XYZ | xyz(27.8723, 24.1009, 90.3540) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.05
Lightish Blue
#3D7AFD
ΔE00 2.51
Soft Blue
#6488EA
ΔE00 2.92
Clear Blue
#247AFD
ΔE00 3.62
Azure
#007FFF
ΔE00 4.48
Cornflower
#6A79F7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5181F6 #F6C651
analogous
#51D4F6 #5181F6 #7451F6
triadic
#5181F6 #F65181 #81F651
tetradic
#5181F6 #F651D4 #F6C651 #51F674
square
#5181F6 #F651D4 #F6C651 #51F674
split-complementary
#5181F6 #F67451 #D4F651
monochromatic
#0A40C3 #1757F3 #5181F6 #8BABF9 #C5D5FC
Accessibility & contrast
On white
3.61
#5181F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#5181F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5181F6
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5181F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5181F6 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428FFA
Deuteranopia (green-blind)
#1880F4
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5181f6; /* rgb */ color: rgb(81, 129, 246); /* oklch */ color: oklch(63.0% 0.183 264.9);
Tailwind
colors: {
custom: {
50: '#93a5fa',
500: '#5181f6',
950: '#000000',
},
}SCSS
$custom: #5181f6; $custom-light: #93a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5181f6",
"rgb": {
"r": 81,
"g": 129,
"b": 246
},
"hsl": {
"h": 222.545,
"s": 90.164,
"l": 64.118
},
"oklch": {
"l": 0.62965,
"c": 0.18268,
"h": 264.9
},
"luminance": 0.24104
}Semantic roles & 50–950 ramp
primary
#5181F6
secondary
#EEDDB5
accent
#A300E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85