#5381CF#5381CF
#5381CF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.130 H 260.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5381CF |
|---|---|
| RGB | rgb(83, 129, 207) |
| HSL | hsl(218, 56%, 57%) |
| HSV | hsv(218, 60%, 81%) |
| CMYK | cmyk(59.9%, 37.7%, 0%, 18.8%) |
| CIE-LAB | lab(54.07, 8.07, -45.03) |
| CIE-LCH | lch(54.07, 45.74, 280.17°) |
| OKLab | oklab(60.65% -0.0216 -0.1277) |
| OKLCH | oklch(60.65% 0.13 260.4) |
| XYZ | xyz(22.6761, 22.0425, 62.0790) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 4.48
Faded Blue
#658CBB
ΔE00 4.52
Off Blue
#5684AE
ΔE00 4.63
Soft Blue
#6488EA
ΔE00 4.76
Cool Blue
#4984B8
ΔE00 4.79
Clear Blue
#247AFD
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5381CF #CFA153
analogous
#53BFCF #5381CF #6353CF
triadic
#5381CF #CF5381 #81CF53
tetradic
#5381CF #CF53BF #CFA153 #53CF63
square
#5381CF #CF53BF #CFA153 #53CF63
split-complementary
#5381CF #CF6353 #BFCF53
monochromatic
#254883 #3262B3 #5381CF #83A4DC #B3C7EA
Accessibility & contrast
On white
3.88
#5381CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#5381CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5381CF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5381CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5381CF | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5381cf; /* rgb */ color: rgb(83, 129, 207); /* oklch */ color: oklch(60.6% 0.130 260.4);
Tailwind
colors: {
custom: {
50: '#8da5de',
500: '#5381cf',
950: '#000000',
},
}SCSS
$custom: #5381cf; $custom-light: #8da5de; $custom-dark: #000000;
JSON
{
"hex": "#5381cf",
"rgb": {
"r": 83,
"g": 129,
"b": 207
},
"hsl": {
"h": 217.742,
"s": 56.364,
"l": 56.863
},
"oklch": {
"l": 0.60646,
"c": 0.12956,
"h": 260.4
},
"luminance": 0.22045
}Semantic roles & 50–950 ramp
primary
#5381CF
secondary
#D8C5A6
accent
#A748E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83