#5182F2#5182F2
#5182F2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.176 H 264.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5182F2 |
|---|---|
| RGB | rgb(81, 130, 242) |
| HSL | hsl(222, 86%, 63%) |
| HSV | hsv(222, 67%, 95%) |
| CMYK | cmyk(66.5%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(56.21, 19.04, -61.23) |
| CIE-LCH | lch(56.21, 64.12, 287.27°) |
| OKLab | oklab(62.9% -0.0178 -0.1753) |
| OKLCH | oklch(62.9% 0.176 264.2) |
| XYZ | xyz(27.3974, 24.1227, 87.1995) |
| Luminance | 0.2412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.86
Soft Blue
#6488EA
ΔE00 2.73
Lightish Blue
#3D7AFD
ΔE00 2.81
Clear Blue
#247AFD
ΔE00 3.65
Azure
#007FFF
ΔE00 4.25
Deep Sky Blue
#0D75F8
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182F2 #F2C151
analogous
#51D2F2 #5182F2 #7051F2
triadic
#5182F2 #F25182 #82F251
tetradic
#5182F2 #F251D2 #F2C151 #51F270
square
#5182F2 #F251D2 #F2C151 #51F270
split-complementary
#5182F2 #F27051 #D2F251
monochromatic
#0E43BB #1859EE #5182F2 #8AABF6 #C3D4FB
Accessibility & contrast
On white
3.61
#5182F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#5182F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182F2
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182F2 | 1.00 | 3.61 | 5.83 | 5.83 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5182f2; /* rgb */ color: rgb(81, 130, 242); /* oklch */ color: oklch(62.9% 0.176 264.2);
Tailwind
colors: {
custom: {
50: '#92a5f7',
500: '#5182f2',
950: '#000000',
},
}SCSS
$custom: #5182f2; $custom-light: #92a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5182f2",
"rgb": {
"r": 81,
"g": 130,
"b": 242
},
"hsl": {
"h": 221.739,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.62904,
"c": 0.17621,
"h": 264.2
},
"luminance": 0.24125
}Semantic roles & 50–950 ramp
primary
#5182F2
secondary
#ECDBB3
accent
#9F03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85