#5182E1#5182E1
#5182E1 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.8% C 0.153 H 262.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5182E1 |
|---|---|
| RGB | rgb(81, 130, 225) |
| HSL | hsl(220, 71%, 60%) |
| HSV | hsv(220, 64%, 88%) |
| CMYK | cmyk(64%, 42.2%, 0%, 11.8%) |
| CIE-LAB | lab(55.23, 13.19, -53.33) |
| CIE-LCH | lch(55.23, 54.94, 283.89°) |
| OKLab | oklab(61.83% -0.0206 -0.1521) |
| OKLCH | oklch(61.83% 0.154 262.3) |
| XYZ | xyz(24.9618, 23.1485, 74.3722) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.75
Soft Blue
#6488EA
ΔE00 3.40
Lightish Blue
#3D7AFD
ΔE00 3.73
Clear Blue
#247AFD
ΔE00 3.92
Azure
#007FFF
ΔE00 4.16
Faded Blue
#658CBB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182E1 #E1B051
analogous
#51CAE1 #5182E1 #6851E1
triadic
#5182E1 #E15182 #82E151
tetradic
#5182E1 #E151CA #E1B051 #51E168
square
#5182E1 #E151CA #E1B051 #51E168
split-complementary
#5182E1 #E16851 #CAE151
monochromatic
#1B479D #245FD1 #5182E1 #85A8EA #B9CDF3
Accessibility & contrast
On white
3.73
#5182E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#5182E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182E1
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182E1 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#568BE5
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5182e1; /* rgb */ color: rgb(81, 130, 225); /* oklch */ color: oklch(61.8% 0.153 262.3);
Tailwind
colors: {
custom: {
50: '#8fa5eb',
500: '#5182e1',
950: '#000000',
},
}SCSS
$custom: #5182e1; $custom-light: #8fa5eb; $custom-dark: #000000;
JSON
{
"hex": "#5182e1",
"rgb": {
"r": 81,
"g": 130,
"b": 225
},
"hsl": {
"h": 219.583,
"s": 70.588,
"l": 60
},
"oklch": {
"l": 0.61828,
"c": 0.1535,
"h": 262.3
},
"luminance": 0.23151
}Semantic roles & 50–950 ramp
primary
#5182E1
secondary
#E3D0AB
accent
#B03AED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84