#5372F2#5372F2
#5372F2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.195 H 269.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5372F2 |
|---|---|
| RGB | rgb(83, 114, 242) |
| HSL | hsl(228, 86%, 64%) |
| HSV | hsv(228, 66%, 95%) |
| CMYK | cmyk(65.7%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(52.15, 29.16, -67.76) |
| CIE-LCH | lch(52.15, 73.77, 293.28°) |
| OKLab | oklab(59.85% -0.0019 -0.1947) |
| OKLCH | oklch(59.85% 0.195 269.4) |
| XYZ | xyz(25.6061, 20.2820, 86.5526) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.59
Cornflower
#6A79F7
ΔE00 3.78
Lightish Blue
#3D7AFD
ΔE00 4.06
Royal Blue
#4169E1
ΔE00 4.44
Deep Sky Blue
#0D75F8
ΔE00 5.49
Clear Blue
#247AFD
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5372F2 #F2D353
analogous
#53C1F2 #5372F2 #8353F2
triadic
#5372F2 #F25372 #72F253
tetradic
#5372F2 #F253C1 #F2D353 #53F283
square
#5372F2 #F253C1 #F2D353 #53F283
split-complementary
#5372F2 #F28353 #C1F253
monochromatic
#0E30BC #1A43EE #5372F2 #8CA1F6 #C5CFFB
Accessibility & contrast
On white
4.15
#5372F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#5372F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5372F2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5372F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5372F2 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1784F6
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5372f2; /* rgb */ color: rgb(83, 114, 242); /* oklch */ color: oklch(59.8% 0.195 269.4);
Tailwind
colors: {
custom: {
50: '#949af7',
500: '#5372f2',
950: '#000000',
},
}SCSS
$custom: #5372f2; $custom-light: #949af7; $custom-dark: #000000;
JSON
{
"hex": "#5372f2",
"rgb": {
"r": 83,
"g": 114,
"b": 242
},
"hsl": {
"h": 228.302,
"s": 85.946,
"l": 63.725
},
"oklch": {
"l": 0.59848,
"c": 0.19473,
"h": 269.4
},
"luminance": 0.20284
}Semantic roles & 50–950 ramp
primary
#5372F2
secondary
#ECE2B4
accent
#B703E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85