#5183D8#5183D8
#5183D8 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.140 H 260.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5183D8 |
|---|---|
| RGB | rgb(81, 131, 216) |
| HSL | hsl(218, 63%, 58%) |
| HSV | hsv(218, 63%, 85%) |
| CMYK | cmyk(62.5%, 39.4%, 0%, 15.3%) |
| CIE-LAB | lab(55.01, 9.52, -48.63) |
| CIE-LCH | lch(55.01, 49.55, 281.08°) |
| OKLab | oklab(61.5% -0.0234 -0.1383) |
| OKLCH | oklch(61.5% 0.14 260.4) |
| XYZ | xyz(23.8999, 22.9376, 68.1203) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.50
Soft Blue
#6488EA
ΔE00 4.07
Azure
#007FFF
ΔE00 4.36
Faded Blue
#658CBB
ΔE00 4.49
Clear Blue
#247AFD
ΔE00 4.49
Lightish Blue
#3D7AFD
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5183D8 #D8A651
analogous
#51C6D8 #5183D8 #6251D8
triadic
#5183D8 #D85183 #83D851
tetradic
#5183D8 #D851C6 #D8A651 #51D862
square
#5183D8 #D851C6 #D8A651 #51D862
split-complementary
#5183D8 #D86251 #C6D851
monochromatic
#20498F #2B63C1 #5183D8 #83A7E3 #B5CAEE
Accessibility & contrast
On white
3.76
#5183D8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#5183D8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5183D8
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5183D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5183D8 | 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)
#5E8ADB
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5183d8; /* rgb */ color: rgb(81, 131, 216); /* oklch */ color: oklch(61.5% 0.140 260.4);
Tailwind
colors: {
custom: {
50: '#8ea6e4',
500: '#5183d8',
950: '#000000',
},
}SCSS
$custom: #5183d8; $custom-light: #8ea6e4; $custom-dark: #000000;
JSON
{
"hex": "#5183d8",
"rgb": {
"r": 81,
"g": 131,
"b": 216
},
"hsl": {
"h": 217.778,
"s": 63.38,
"l": 58.235
},
"oklch": {
"l": 0.61501,
"c": 0.14026,
"h": 260.4
},
"luminance": 0.2294
}Semantic roles & 50–950 ramp
primary
#5183D8
secondary
#DDC9A8
accent
#A941E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F15
muted
#7E7F84