#5C72EA#5C72EA
#5C72EA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.182 H 272.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5C72EA |
|---|---|
| RGB | rgb(92, 114, 234) |
| HSL | hsl(231, 77%, 64%) |
| HSV | hsv(231, 61%, 92%) |
| CMYK | cmyk(60.7%, 51.3%, 0%, 8.2%) |
| CIE-LAB | lab(52.12, 27.93, -63.33) |
| CIE-LCH | lch(52.12, 69.22, 293.80°) |
| OKLab | oklab(59.78% 0.0063 -0.1815) |
| OKLCH | oklch(59.78% 0.182 272) |
| XYZ | xyz(25.2773, 20.2484, 80.4022) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.32
Cornflower
#6A79F7
ΔE00 3.43
Royal Blue
#4169E1
ΔE00 4.66
Lightish Blue
#3D7AFD
ΔE00 5.15
Bright Blue
#0165FC
ΔE00 6.55
Clear Blue
#247AFD
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C72EA #EAD45C
analogous
#5CB9EA #5C72EA #8D5CEA
triadic
#5C72EA #EA5C72 #72EA5C
tetradic
#5C72EA #EA5CB9 #EAD45C #5CEA8D
square
#5C72EA #EA5CB9 #EAD45C #5CEA8D
split-complementary
#5C72EA #EA8D5C #B9EA5C
monochromatic
#1730B4 #2643E3 #5C72EA #92A1F1 #C8D0F8
Accessibility & contrast
On white
4.16
#5C72EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#5C72EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C72EA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C72EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C72EA | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5c72ea; /* rgb */ color: rgb(92, 114, 234); /* oklch */ color: oklch(59.8% 0.182 272.0);
Tailwind
colors: {
custom: {
50: '#969af1',
500: '#5c72ea',
950: '#000000',
},
}SCSS
$custom: #5c72ea; $custom-light: #969af1; $custom-dark: #000000;
JSON
{
"hex": "#5c72ea",
"rgb": {
"r": 92,
"g": 114,
"b": 234
},
"hsl": {
"h": 230.704,
"s": 77.174,
"l": 63.922
},
"oklch": {
"l": 0.59782,
"c": 0.1816,
"h": 272
},
"luminance": 0.2025
}Semantic roles & 50–950 ramp
primary
#5C72EA
secondary
#EAE2B8
accent
#BA0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85