#5182DD#5182DD
#5182DD is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.148 H 261.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5182DD |
|---|---|
| RGB | rgb(81, 130, 221) |
| HSL | hsl(219, 67%, 59%) |
| HSV | hsv(219, 63%, 87%) |
| CMYK | cmyk(63.3%, 41.2%, 0%, 13.3%) |
| CIE-LAB | lab(55.00, 11.83, -51.45) |
| CIE-LCH | lch(55.00, 52.79, 282.95°) |
| OKLab | oklab(61.59% -0.0214 -0.1466) |
| OKLCH | oklch(61.59% 0.148 261.7) |
| XYZ | xyz(24.4225, 22.9328, 71.5320) |
| Luminance | 0.2293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.09
Soft Blue
#6488EA
ΔE00 3.70
Lightish Blue
#3D7AFD
ΔE00 4.05
Clear Blue
#247AFD
ΔE00 4.10
Azure
#007FFF
ΔE00 4.25
Faded Blue
#658CBB
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182DD #DDAC51
analogous
#51C8DD #5182DD #6651DD
triadic
#5182DD #DD5182 #82DD51
tetradic
#5182DD #DD51C8 #DDAC51 #51DD66
square
#5182DD #DD51C8 #DDAC51 #51DD66
split-complementary
#5182DD #DD6651 #C8DD51
monochromatic
#1D4896 #2760C9 #5182DD #84A7E7 #B7CCF1
Accessibility & contrast
On white
3.76
#5182DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#5182DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182DD
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182DD | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5182dd; /* rgb */ color: rgb(81, 130, 221); /* oklch */ color: oklch(61.6% 0.148 261.7);
Tailwind
colors: {
custom: {
50: '#8ea5e8',
500: '#5182dd',
950: '#000000',
},
}SCSS
$custom: #5182dd; $custom-light: #8ea5e8; $custom-dark: #000000;
JSON
{
"hex": "#5182dd",
"rgb": {
"r": 81,
"g": 130,
"b": 221
},
"hsl": {
"h": 219,
"s": 67.308,
"l": 59.216
},
"oklch": {
"l": 0.61585,
"c": 0.14812,
"h": 261.7
},
"luminance": 0.22935
}Semantic roles & 50–950 ramp
primary
#5182DD
secondary
#E0CDAA
accent
#AE3EEA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84