#5182F6#5182F6
#5182F6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.182 H 264.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5182F6 |
|---|---|
| RGB | rgb(81, 130, 246) |
| HSL | hsl(222, 90%, 64%) |
| HSV | hsv(222, 67%, 96%) |
| CMYK | cmyk(67.1%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(56.45, 20.42, -63.06) |
| CIE-LCH | lch(56.45, 66.28, 287.94°) |
| OKLab | oklab(63.17% -0.0173 -0.1807) |
| OKLCH | oklch(63.17% 0.182 264.5) |
| XYZ | xyz(28.0047, 24.3656, 90.3981) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.88
Lightish Blue
#3D7AFD
ΔE00 2.75
Soft Blue
#6488EA
ΔE00 2.76
Clear Blue
#247AFD
ΔE00 3.73
Azure
#007FFF
ΔE00 4.40
Deep Sky Blue
#0D75F8
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182F6 #F6C551
analogous
#51D4F6 #5182F6 #7351F6
triadic
#5182F6 #F65182 #82F651
tetradic
#5182F6 #F651D4 #F6C551 #51F673
square
#5182F6 #F651D4 #F6C551 #51F673
split-complementary
#5182F6 #F67351 #D4F651
monochromatic
#0A41C3 #1758F3 #5182F6 #8BACF9 #C5D6FC
Accessibility & contrast
On white
3.58
#5182F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#5182F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182F6
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182F6 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458FFA
Deuteranopia (green-blind)
#1D80F4
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5182f6; /* rgb */ color: rgb(81, 130, 246); /* oklch */ color: oklch(63.2% 0.182 264.5);
Tailwind
colors: {
custom: {
50: '#93a5fa',
500: '#5182f6',
950: '#000000',
},
}SCSS
$custom: #5182f6; $custom-light: #93a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5182f6",
"rgb": {
"r": 81,
"g": 130,
"b": 246
},
"hsl": {
"h": 222.182,
"s": 90.164,
"l": 64.118
},
"oklch": {
"l": 0.63166,
"c": 0.18151,
"h": 264.5
},
"luminance": 0.24368
}Semantic roles & 50–950 ramp
primary
#5182F6
secondary
#EEDDB5
accent
#A100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85