#5F5AE7#5F5AE7
#5F5AE7 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.5% C 0.207 H 278.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5AE7 |
|---|---|
| RGB | rgb(95, 90, 231) |
| HSL | hsl(242, 75%, 63%) |
| HSV | hsv(242, 61%, 91%) |
| CMYK | cmyk(58.9%, 61%, 0%, 9.4%) |
| CIE-LAB | lab(46.33, 41.99, -71.01) |
| CIE-LCH | lch(46.33, 82.50, 300.59°) |
| OKLab | oklab(55.46% 0.0317 -0.2042) |
| OKLCH | oklch(55.46% 0.207 278.8) |
| XYZ | xyz(22.7947, 15.5131, 77.3789) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 3.97
Iris
#6258C4
ΔE00 4.94
Electric Blue
#0652FF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5AE7 #E2E75A
analogous
#5A9BE7 #5F5AE7 #A65AE7
triadic
#5F5AE7 #E75F5A #5AE75F
tetradic
#5F5AE7 #E75A9B #E2E75A #5AE7A6
square
#5F5AE7 #E75A9B #E2E75A #5AE7A6
split-complementary
#5F5AE7 #E7A65A #9BE75A
monochromatic
#1E19AD #2B25DF #5F5AE7 #938FEF #C7C5F7
Accessibility & contrast
On white
5.12
#5F5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5F5AE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5AE7
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5AE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5AE7 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5ae7; /* rgb */ color: rgb(95, 90, 231); /* oklch */ color: oklch(55.5% 0.207 278.8);
Tailwind
colors: {
custom: {
50: '#9989f0',
500: '#5f5ae7',
950: '#000000',
},
}SCSS
$custom: #5f5ae7; $custom-light: #9989f0; $custom-dark: #000000;
JSON
{
"hex": "#5f5ae7",
"rgb": {
"r": 95,
"g": 90,
"b": 231
},
"hsl": {
"h": 242.128,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.55458,
"c": 0.20667,
"h": 278.8
},
"luminance": 0.15515
}Semantic roles & 50–950 ramp
primary
#5F5AE7
secondary
#E6E8B5
accent
#D70FD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85