#5F5AE5#5F5AE5
#5F5AE5 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.204 H 279.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5AE5 |
|---|---|
| RGB | rgb(95, 90, 229) |
| HSL | hsl(242, 73%, 63%) |
| HSV | hsv(242, 61%, 90%) |
| CMYK | cmyk(58.5%, 60.7%, 0%, 10.2%) |
| CIE-LAB | lab(46.18, 41.36, -70.13) |
| CIE-LCH | lch(46.18, 81.42, 300.53°) |
| OKLab | oklab(55.3% 0.0318 -0.2016) |
| OKLCH | oklch(55.3% 0.204 279) |
| XYZ | xyz(22.5138, 15.4008, 75.8998) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 3.78
Iris
#6258C4
ΔE00 4.69
Electric Blue
#0652FF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5AE5 #E0E55A
analogous
#5A9BE5 #5F5AE5 #A45AE5
triadic
#5F5AE5 #E55F5A #5AE55F
tetradic
#5F5AE5 #E55A9B #E0E55A #5AE5A4
square
#5F5AE5 #E55A9B #E0E55A #5AE5A4
split-complementary
#5F5AE5 #E5A45A #9BE55A
monochromatic
#201BAA #2C25DD #5F5AE5 #928FED #C6C4F6
Accessibility & contrast
On white
5.15
#5F5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5F5AE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5AE5
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5AE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5AE5 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5f5ae5; /* rgb */ color: rgb(95, 90, 229); /* oklch */ color: oklch(55.3% 0.204 279.0);
Tailwind
colors: {
custom: {
50: '#9989ee',
500: '#5f5ae5',
950: '#000000',
},
}SCSS
$custom: #5f5ae5; $custom-light: #9989ee; $custom-dark: #000000;
JSON
{
"hex": "#5f5ae5",
"rgb": {
"r": 95,
"g": 90,
"b": 229
},
"hsl": {
"h": 242.158,
"s": 72.775,
"l": 62.549
},
"oklch": {
"l": 0.553,
"c": 0.20412,
"h": 279
},
"luminance": 0.15402
}Semantic roles & 50–950 ramp
primary
#5F5AE5
secondary
#E5E7B4
accent
#D511CE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84