#5371C2#5371C2
#5371C2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.130 H 266.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5371C2 |
|---|---|
| RGB | rgb(83, 113, 194) |
| HSL | hsl(224, 48%, 54%) |
| HSV | hsv(224, 57%, 76%) |
| CMYK | cmyk(57.2%, 41.8%, 0%, 23.9%) |
| CIE-LAB | lab(48.94, 13.51, -45.76) |
| CIE-LCH | lch(48.94, 47.72, 286.45°) |
| OKLab | oklab(56.45% -0.007 -0.1301) |
| OKLCH | oklch(56.45% 0.13 266.9) |
| XYZ | xyz(19.2067, 17.5428, 53.4024) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.71
French Blue
#436BAD
ΔE00 4.36
Royal Blue
#4169E1
ΔE00 4.63
Medium Blue
#2C6FBB
ΔE00 6.12
Cerulean Blue
#056EEE
ΔE00 6.25
Windows Blue
#3778BF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5371C2 #C2A453
analogous
#53A8C2 #5371C2 #6D53C2
triadic
#5371C2 #C25371 #71C253
tetradic
#5371C2 #C253A8 #C2A453 #53C26D
square
#5371C2 #C253A8 #C2A453 #53C26D
split-complementary
#5371C2 #C26D53 #A8C253
monochromatic
#283C72 #38549F #5371C2 #8096D2 #ADBCE2
Accessibility & contrast
On white
4.66
#5371C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#5371C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5371C2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5371C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5371C2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#4070C0
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5371c2; /* rgb */ color: rgb(83, 113, 194); /* oklch */ color: oklch(56.5% 0.130 266.9);
Tailwind
colors: {
custom: {
50: '#8c99d5',
500: '#5371c2',
950: '#000000',
},
}SCSS
$custom: #5371c2; $custom-light: #8c99d5; $custom-dark: #000000;
JSON
{
"hex": "#5371c2",
"rgb": {
"r": 83,
"g": 113,
"b": 194
},
"hsl": {
"h": 223.784,
"s": 47.639,
"l": 54.314
},
"oklch": {
"l": 0.5645,
"c": 0.13026,
"h": 266.9
},
"luminance": 0.17544
}Semantic roles & 50–950 ramp
primary
#5371C2
secondary
#D0C3A1
accent
#B351D7
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83