#5F5DE9#5F5DE9
#5F5DE9 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.206 H 278.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DE9 |
|---|---|
| RGB | rgb(95, 93, 233) |
| HSL | hsl(241, 76%, 64%) |
| HSV | hsv(241, 60%, 91%) |
| CMYK | cmyk(59.2%, 60.1%, 0%, 8.6%) |
| CIE-LAB | lab(47.16, 40.84, -70.79) |
| CIE-LCH | lch(47.16, 81.72, 299.98°) |
| OKLab | oklab(56.12% 0.029 -0.2035) |
| OKLCH | oklch(56.12% 0.206 278.1) |
| XYZ | xyz(23.3369, 16.1431, 78.9611) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.40
Iris
#6258C4
ΔE00 5.46
Mediumslateblue
#7B68EE
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DE9 #E7E95D
analogous
#5DA1E9 #5F5DE9 #A55DE9
triadic
#5F5DE9 #E95F5D #5DE95F
tetradic
#5F5DE9 #E95DA1 #E7E95D #5DE9A5
square
#5F5DE9 #E95DA1 #E7E95D #5DE9A5
split-complementary
#5F5DE9 #E9A55D #A1E95D
monochromatic
#1B18B3 #2A27E2 #5F5DE9 #9493F0 #C9C9F8
Accessibility & contrast
On white
4.97
#5F5DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#5F5DE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DE9
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DE9 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f5de9; /* rgb */ color: rgb(95, 93, 233); /* oklch */ color: oklch(56.1% 0.206 278.1);
Tailwind
colors: {
custom: {
50: '#998bf1',
500: '#5f5de9',
950: '#000000',
},
}SCSS
$custom: #5f5de9; $custom-light: #998bf1; $custom-dark: #000000;
JSON
{
"hex": "#5f5de9",
"rgb": {
"r": 95,
"g": 93,
"b": 233
},
"hsl": {
"h": 240.857,
"s": 76.087,
"l": 63.922
},
"oklch": {
"l": 0.56117,
"c": 0.20559,
"h": 278.1
},
"luminance": 0.16145
}Semantic roles & 50–950 ramp
primary
#5F5DE9
secondary
#E9E9B8
accent
#D80DD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85