#5153E2#5153E2
#5153E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.212 H 275.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5153E2 |
|---|---|
| RGB | rgb(81, 83, 226) |
| HSL | hsl(239, 71%, 60%) |
| HSV | hsv(239, 64%, 89%) |
| CMYK | cmyk(64.2%, 63.3%, 0%, 11.4%) |
| CIE-LAB | lab(43.40, 42.41, -73.01) |
| CIE-LCH | lch(43.40, 84.43, 300.15°) |
| OKLab | oklab(52.94% 0.0214 -0.2105) |
| OKLCH | oklch(52.94% 0.212 275.8) |
| XYZ | xyz(20.2096, 13.4251, 73.4631) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.86
Electric Blue
#0652FF
ΔE00 4.62
Iris
#6258C4
ΔE00 4.77
Dark Periwinkle
#665FD1
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5153E2 #E2E051
analogous
#519CE2 #5153E2 #9751E2
triadic
#5153E2 #E25153 #53E251
tetradic
#5153E2 #E2519C #E2E051 #51E297
square
#5153E2 #E2519C #E2E051 #51E297
split-complementary
#5153E2 #E29751 #9CE251
monochromatic
#1A1C9E #2326D3 #5153E2 #8587EB #BABBF3
Accessibility & contrast
On white
5.70
#5153E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5153E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5153E2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5153E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5153E2 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5153e2; /* rgb */ color: rgb(81, 83, 226); /* oklch */ color: oklch(52.9% 0.212 275.8);
Tailwind
colors: {
custom: {
50: '#9284ec',
500: '#5153e2',
950: '#000000',
},
}SCSS
$custom: #5153e2; $custom-light: #9284ec; $custom-dark: #000000;
JSON
{
"hex": "#5153e2",
"rgb": {
"r": 81,
"g": 83,
"b": 226
},
"hsl": {
"h": 239.172,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.52942,
"c": 0.21157,
"h": 275.8
},
"luminance": 0.13427
}Semantic roles & 50–950 ramp
primary
#5153E2
secondary
#E3E2AC
accent
#D112D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84