#5060E2#5060E2
#5060E2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.196 H 272.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5060E2 |
|---|---|
| RGB | rgb(80, 96, 226) |
| HSL | hsl(233, 72%, 60%) |
| HSV | hsv(233, 65%, 89%) |
| CMYK | cmyk(64.6%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(46.39, 34.36, -68.13) |
| CIE-LCH | lch(46.39, 76.30, 296.77°) |
| OKLab | oklab(55.14% 0.0098 -0.1961) |
| OKLCH | oklch(55.14% 0.196 272.9) |
| XYZ | xyz(21.2140, 15.5603, 73.8222) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 4.05
Royal Blue
#4169E1
ΔE00 4.05
Azul
#1D5DEC
ΔE00 4.10
Bright Blue
#0165FC
ΔE00 5.39
Electric Blue
#0652FF
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5060E2 #E2D250
analogous
#50A9E2 #5060E2 #8950E2
triadic
#5060E2 #E25060 #60E250
tetradic
#5060E2 #E250A9 #E2D250 #50E289
square
#5060E2 #E250A9 #E2D250 #50E289
split-complementary
#5060E2 #E28950 #A9E250
monochromatic
#1A289E #2336D2 #5060E2 #8490EB #B9BFF3
Accessibility & contrast
On white
5.11
#5060E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#5060E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5060E2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5060E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5060E2 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5060e2; /* rgb */ color: rgb(80, 96, 226); /* oklch */ color: oklch(55.1% 0.196 272.9);
Tailwind
colors: {
custom: {
50: '#908dec',
500: '#5060e2',
950: '#000000',
},
}SCSS
$custom: #5060e2; $custom-light: #908dec; $custom-dark: #000000;
JSON
{
"hex": "#5060e2",
"rgb": {
"r": 80,
"g": 96,
"b": 226
},
"hsl": {
"h": 233.425,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.55135,
"c": 0.19632,
"h": 272.9
},
"luminance": 0.15562
}Semantic roles & 50–950 ramp
primary
#5060E2
secondary
#E3DDAB
accent
#DA39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84