#5371E2#5371E2
#5371E2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.175 H 269.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5371E2 |
|---|---|
| RGB | rgb(83, 113, 226) |
| HSL | hsl(227, 71%, 61%) |
| HSV | hsv(227, 63%, 89%) |
| CMYK | cmyk(63.3%, 50%, 0%, 11.4%) |
| CIE-LAB | lab(50.85, 24.32, -60.91) |
| CIE-LCH | lch(50.85, 65.58, 291.76°) |
| OKLab | oklab(58.53% -0.0024 -0.1746) |
| OKLCH | oklch(58.53% 0.175 269.2) |
| XYZ | xyz(23.1952, 19.1382, 74.4084) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.55
Royal Blue
#4169E1
ΔE00 3.21
Lightish Blue
#3D7AFD
ΔE00 4.96
Cornflower
#6A79F7
ΔE00 5.14
Cerulean Blue
#056EEE
ΔE00 5.26
Deep Sky Blue
#0D75F8
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5371E2 #E2C453
analogous
#53B8E2 #5371E2 #7D53E2
triadic
#5371E2 #E25371 #71E253
tetradic
#5371E2 #E253B8 #E2C453 #53E27D
square
#5371E2 #E253B8 #E2C453 #53E27D
split-complementary
#5371E2 #E27D53 #B8E253
monochromatic
#1B37A0 #2449D4 #5371E2 #879CEB #BCC7F4
Accessibility & contrast
On white
4.35
#5371E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#5371E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5371E2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5371E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5371E2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#0273E0
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #5371e2; /* rgb */ color: rgb(83, 113, 226); /* oklch */ color: oklch(58.5% 0.175 269.2);
Tailwind
colors: {
custom: {
50: '#9199ec',
500: '#5371e2',
950: '#000000',
},
}SCSS
$custom: #5371e2; $custom-light: #9199ec; $custom-dark: #000000;
JSON
{
"hex": "#5371e2",
"rgb": {
"r": 83,
"g": 113,
"b": 226
},
"hsl": {
"h": 227.413,
"s": 71.144,
"l": 60.588
},
"oklch": {
"l": 0.58526,
"c": 0.17459,
"h": 269.2
},
"luminance": 0.1914
}Semantic roles & 50–950 ramp
primary
#5371E2
secondary
#E4D8AD
accent
#AB12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84