#5371F2#5371F2
#5371F2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.196 H 269.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5371F2 |
|---|---|
| RGB | rgb(83, 113, 242) |
| HSL | hsl(229, 86%, 64%) |
| HSV | hsv(229, 66%, 95%) |
| CMYK | cmyk(65.7%, 53.3%, 0%, 5.1%) |
| CIE-LAB | lab(51.90, 29.77, -68.17) |
| CIE-LCH | lch(51.90, 74.39, 293.59°) |
| OKLab | oklab(59.66% -0.0011 -0.1959) |
| OKLCH | oklch(59.66% 0.196 269.7) |
| XYZ | xyz(25.4940, 20.0577, 86.5152) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.56
Cornflower
#6A79F7
ΔE00 3.92
Royal Blue
#4169E1
ΔE00 4.25
Lightish Blue
#3D7AFD
ΔE00 4.35
Bright Blue
#0165FC
ΔE00 5.53
Deep Sky Blue
#0D75F8
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5371F2 #F2D453
analogous
#53C0F2 #5371F2 #8453F2
triadic
#5371F2 #F25371 #71F253
tetradic
#5371F2 #F253C0 #F2D453 #53F284
square
#5371F2 #F253C0 #F2D453 #53F284
split-complementary
#5371F2 #F28453 #C0F253
monochromatic
#0E2FBC #1A42EE #5371F2 #8CA0F6 #C5CFFB
Accessibility & contrast
On white
4.19
#5371F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#5371F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5371F2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5371F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5371F2 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1083F6
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5371f2; /* rgb */ color: rgb(83, 113, 242); /* oklch */ color: oklch(59.7% 0.196 269.7);
Tailwind
colors: {
custom: {
50: '#9499f7',
500: '#5371f2',
950: '#000000',
},
}SCSS
$custom: #5371f2; $custom-light: #9499f7; $custom-dark: #000000;
JSON
{
"hex": "#5371f2",
"rgb": {
"r": 83,
"g": 113,
"b": 242
},
"hsl": {
"h": 228.679,
"s": 85.946,
"l": 63.725
},
"oklch": {
"l": 0.59658,
"c": 0.19594,
"h": 269.7
},
"luminance": 0.2006
}Semantic roles & 50–950 ramp
primary
#5371F2
secondary
#ECE2B4
accent
#B803E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85