#5F5AE9#5F5AE9
#5F5AE9 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.209 H 278.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5AE9 |
|---|---|
| RGB | rgb(95, 90, 233) |
| HSL | hsl(242, 76%, 63%) |
| HSV | hsv(242, 61%, 91%) |
| CMYK | cmyk(59.2%, 61.4%, 0%, 8.6%) |
| CIE-LAB | lab(46.48, 42.62, -71.90) |
| CIE-LCH | lch(46.48, 83.58, 300.66°) |
| OKLab | oklab(55.62% 0.0316 -0.2068) |
| OKLCH | oklch(55.62% 0.209 278.7) |
| XYZ | xyz(23.0788, 15.6267, 78.8751) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.17
Iris
#6258C4
ΔE00 5.20
Electric Blue
#0652FF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5AE9 #E4E95A
analogous
#5A9CE9 #5F5AE9 #A65AE9
triadic
#5F5AE9 #E95F5A #5AE95F
tetradic
#5F5AE9 #E95A9C #E4E95A #5AE9A6
square
#5F5AE9 #E95A9C #E4E95A #5AE9A6
split-complementary
#5F5AE9 #E9A65A #9CE95A
monochromatic
#1D18B1 #2B24E2 #5F5AE9 #9390F0 #C8C6F7
Accessibility & contrast
On white
5.09
#5F5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5F5AE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5AE9
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5AE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5AE9 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5ae9; /* rgb */ color: rgb(95, 90, 233); /* oklch */ color: oklch(55.6% 0.209 278.7);
Tailwind
colors: {
custom: {
50: '#9989f1',
500: '#5f5ae9',
950: '#000000',
},
}SCSS
$custom: #5f5ae9; $custom-light: #9989f1; $custom-dark: #000000;
JSON
{
"hex": "#5f5ae9",
"rgb": {
"r": 95,
"g": 90,
"b": 233
},
"hsl": {
"h": 242.098,
"s": 76.471,
"l": 63.333
},
"oklch": {
"l": 0.55617,
"c": 0.20921,
"h": 278.7
},
"luminance": 0.15628
}Semantic roles & 50–950 ramp
primary
#5F5AE9
secondary
#E7E9B6
accent
#D90DD2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85