#5182DF#5182DF
#5182DF is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.151 H 262.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5182DF |
|---|---|
| RGB | rgb(81, 130, 223) |
| HSL | hsl(219, 69%, 60%) |
| HSV | hsv(219, 64%, 87%) |
| CMYK | cmyk(63.7%, 41.7%, 0%, 12.5%) |
| CIE-LAB | lab(55.11, 12.51, -52.39) |
| CIE-LCH | lch(55.11, 53.86, 283.43°) |
| OKLab | oklab(61.71% -0.021 -0.1493) |
| OKLCH | oklch(61.71% 0.151 262) |
| XYZ | xyz(24.6906, 23.0400, 72.9437) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.92
Soft Blue
#6488EA
ΔE00 3.55
Lightish Blue
#3D7AFD
ΔE00 3.89
Clear Blue
#247AFD
ΔE00 4.00
Azure
#007FFF
ΔE00 4.20
Faded Blue
#658CBB
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182DF #DFAE51
analogous
#51C9DF #5182DF #6751DF
triadic
#5182DF #DF5182 #82DF51
tetradic
#5182DF #DF51C9 #DFAE51 #51DF67
square
#5182DF #DF51C9 #DFAE51 #51DF67
split-complementary
#5182DF #DF6751 #C9DF51
monochromatic
#1C4799 #265FCD #5182DF #85A7E9 #B8CCF2
Accessibility & contrast
On white
3.74
#5182DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#5182DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182DF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182DF | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#427EDD
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5182df; /* rgb */ color: rgb(81, 130, 223); /* oklch */ color: oklch(61.7% 0.151 262.0);
Tailwind
colors: {
custom: {
50: '#8fa5e9',
500: '#5182df',
950: '#000000',
},
}SCSS
$custom: #5182df; $custom-light: #8fa5e9; $custom-dark: #000000;
JSON
{
"hex": "#5182df",
"rgb": {
"r": 81,
"g": 130,
"b": 223
},
"hsl": {
"h": 219.296,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.61706,
"c": 0.15081,
"h": 262
},
"luminance": 0.23042
}Semantic roles & 50–950 ramp
primary
#5182DF
secondary
#E1CEAA
accent
#AF3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84