#5181FF#5181FF
#5181FF is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.195 H 265.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5181FF |
|---|---|
| RGB | rgb(81, 129, 255) |
| HSL | hsl(223, 100%, 66%) |
| HSV | hsv(223, 68%, 100%) |
| CMYK | cmyk(68.2%, 49.4%, 0%, 0%) |
| CIE-LAB | lab(56.75, 24.14, -67.54) |
| CIE-LCH | lch(56.75, 71.73, 289.67°) |
| OKLab | oklab(63.57% -0.0153 -0.1939) |
| OKLCH | oklch(63.57% 0.195 265.5) |
| XYZ | xyz(29.2873, 24.6669, 97.8061) |
| Luminance | 0.2467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.45
Lightish Blue
#3D7AFD
ΔE00 2.70
Soft Blue
#6488EA
ΔE00 3.26
Clear Blue
#247AFD
ΔE00 4.02
Azure
#007FFF
ΔE00 4.93
Cornflower
#6A79F7
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5181FF #FFCF51
analogous
#51D8FF #5181FF #7851FF
triadic
#5181FF #FF5181 #81FF51
tetradic
#5181FF #FF51D8 #FFCF51 #51FF78
square
#5181FF #FF51D8 #FFCF51 #51FF78
split-complementary
#5181FF #FF7851 #D8FF51
monochromatic
#003BD6 #1455FF #5181FF #8EADFF #CBDAFF
Accessibility & contrast
On white
3.54
#5181FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#5181FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5181FF
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5181FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5181FF | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3791FF
Deuteranopia (green-blind)
#0081FC
Tritanopia (blue-blind)
#009FB4
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5181ff; /* rgb */ color: rgb(81, 129, 255); /* oklch */ color: oklch(63.6% 0.195 265.5);
Tailwind
colors: {
custom: {
50: '#94a5ff',
500: '#5181ff',
950: '#000000',
},
}SCSS
$custom: #5181ff; $custom-light: #94a5ff; $custom-dark: #000000;
JSON
{
"hex": "#5181ff",
"rgb": {
"r": 81,
"g": 129,
"b": 255
},
"hsl": {
"h": 223.448,
"s": 100,
"l": 65.882
},
"oklch": {
"l": 0.63572,
"c": 0.19451,
"h": 265.5
},
"luminance": 0.2467
}Semantic roles & 50–950 ramp
primary
#5181FF
secondary
#F3E3B9
accent
#A600E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86