#5F5AEB#5F5AEB
#5F5AEB is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.212 H 278.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5AEB |
|---|---|
| RGB | rgb(95, 90, 235) |
| HSL | hsl(242, 78%, 64%) |
| HSV | hsv(242, 62%, 92%) |
| CMYK | cmyk(59.6%, 61.7%, 0%, 7.8%) |
| CIE-LAB | lab(46.63, 43.25, -72.77) |
| CIE-LCH | lch(46.63, 84.65, 300.72°) |
| OKLab | oklab(55.78% 0.0315 -0.2094) |
| OKLCH | oklch(55.78% 0.212 278.5) |
| XYZ | xyz(23.3661, 15.7417, 80.3883) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 4.39
Iris
#6258C4
ΔE00 5.45
Electric Blue
#0652FF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5AEB #E6EB5A
analogous
#5A9DEB #5F5AEB #A75AEB
triadic
#5F5AEB #EB5F5A #5AEB5F
tetradic
#5F5AEB #EB5A9D #E6EB5A #5AEBA7
square
#5F5AEB #EB5A9D #E6EB5A #5AEBA7
split-complementary
#5F5AEB #EBA75A #9DEB5A
monochromatic
#1B16B5 #2A23E4 #5F5AEB #9491F2 #C9C7F8
Accessibility & contrast
On white
5.06
#5F5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5F5AEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5AEB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5AEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5AEB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5aeb; /* rgb */ color: rgb(95, 90, 235); /* oklch */ color: oklch(55.8% 0.212 278.5);
Tailwind
colors: {
custom: {
50: '#9a89f2',
500: '#5f5aeb',
950: '#000000',
},
}SCSS
$custom: #5f5aeb; $custom-light: #9a89f2; $custom-dark: #000000;
JSON
{
"hex": "#5f5aeb",
"rgb": {
"r": 95,
"g": 90,
"b": 235
},
"hsl": {
"h": 242.069,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.55776,
"c": 0.21174,
"h": 278.5
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#5F5AEB
secondary
#E8EAB7
accent
#DB0BD3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85