#5C72EB#5C72EB
#5C72EB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.183 H 272.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5C72EB |
|---|---|
| RGB | rgb(92, 114, 235) |
| HSL | hsl(231, 78%, 64%) |
| HSV | hsv(231, 61%, 92%) |
| CMYK | cmyk(60.9%, 51.5%, 0%, 7.8%) |
| CIE-LAB | lab(52.18, 28.26, -63.79) |
| CIE-LCH | lch(52.18, 69.77, 293.90°) |
| OKLab | oklab(59.85% 0.0064 -0.1828) |
| OKLCH | oklch(59.85% 0.183 272) |
| XYZ | xyz(25.4214, 20.3060, 81.1610) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.35
Cornflower Blue
#5170D7
ΔE00 3.43
Royal Blue
#4169E1
ΔE00 4.72
Lightish Blue
#3D7AFD
ΔE00 5.12
Bright Blue
#0165FC
ΔE00 6.55
Clear Blue
#247AFD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C72EB #EBD55C
analogous
#5CBAEB #5C72EB #8E5CEB
triadic
#5C72EB #EB5C72 #72EB5C
tetradic
#5C72EB #EB5CBA #EBD55C #5CEB8E
square
#5C72EB #EB5CBA #EBD55C #5CEB8E
split-complementary
#5C72EB #EB8E5C #BAEB5C
monochromatic
#162FB6 #2543E4 #5C72EB #93A1F2 #C9D0F8
Accessibility & contrast
On white
4.15
#5C72EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#5C72EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C72EB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C72EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C72EB | 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)
#2A83EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5c72eb; /* rgb */ color: rgb(92, 114, 235); /* oklch */ color: oklch(59.9% 0.183 272.0);
Tailwind
colors: {
custom: {
50: '#979af2',
500: '#5c72eb',
950: '#000000',
},
}SCSS
$custom: #5c72eb; $custom-light: #979af2; $custom-dark: #000000;
JSON
{
"hex": "#5c72eb",
"rgb": {
"r": 92,
"g": 114,
"b": 235
},
"hsl": {
"h": 230.769,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.59851,
"c": 0.18294,
"h": 272
},
"luminance": 0.20308
}Semantic roles & 50–950 ramp
primary
#5C72EB
secondary
#EAE3B8
accent
#BB0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85