#5F5BEE#5F5BEE
#5F5BEE is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.2% C 0.214 H 278.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BEE |
|---|---|
| RGB | rgb(95, 91, 238) |
| HSL | hsl(242, 81%, 65%) |
| HSV | hsv(242, 62%, 93%) |
| CMYK | cmyk(60.1%, 61.8%, 0%, 6.7%) |
| CIE-LAB | lab(47.09, 43.61, -73.72) |
| CIE-LCH | lch(47.09, 85.65, 300.61°) |
| OKLab | oklab(56.18% 0.0304 -0.2122) |
| OKLCH | oklch(56.18% 0.214 278.2) |
| XYZ | xyz(23.8881, 16.0863, 82.7185) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 4.78
Mediumslateblue
#7B68EE
ΔE00 5.70
Iris
#6258C4
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BEE #EAEE5B
analogous
#5BA0EE #5F5BEE #A95BEE
triadic
#5F5BEE #EE5F5B #5BEE5F
tetradic
#5F5BEE #EE5BA0 #EAEE5B #5BEEA9
square
#5F5BEE #EE5BA0 #EAEE5B #5BEEA9
split-complementary
#5F5BEE #EEA95B #A0EE5B
monochromatic
#1813BB #2924E8 #5F5BEE #9592F4 #CBCAF9
Accessibility & contrast
On white
4.98
#5F5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5F5BEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BEE
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BEE | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f5bee; /* rgb */ color: rgb(95, 91, 238); /* oklch */ color: oklch(56.2% 0.214 278.2);
Tailwind
colors: {
custom: {
50: '#9a8af5',
500: '#5f5bee',
950: '#000000',
},
}SCSS
$custom: #5f5bee; $custom-light: #9a8af5; $custom-dark: #000000;
JSON
{
"hex": "#5f5bee",
"rgb": {
"r": 95,
"g": 91,
"b": 238
},
"hsl": {
"h": 241.633,
"s": 81.215,
"l": 64.51
},
"oklch": {
"l": 0.5618,
"c": 0.21434,
"h": 278.2
},
"luminance": 0.16088
}Semantic roles & 50–950 ramp
primary
#5F5BEE
secondary
#EAECB9
accent
#DE08D8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85