#5F5EF0#5F5EF0
#5F5EF0 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.213 H 277.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5EF0 |
|---|---|
| RGB | rgb(95, 94, 240) |
| HSL | hsl(240, 83%, 65%) |
| HSV | hsv(240, 61%, 94%) |
| CMYK | cmyk(60.4%, 60.8%, 0%, 5.9%) |
| CIE-LAB | lab(47.92, 42.48, -73.49) |
| CIE-LCH | lch(47.92, 84.89, 300.03°) |
| OKLab | oklab(56.84% 0.0278 -0.2115) |
| OKLCH | oklch(56.84% 0.213 277.5) |
| XYZ | xyz(24.4451, 16.7277, 84.3618) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 4.68
Mediumslateblue
#7B68EE
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.26
Electric Blue
#0652FF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5EF0 #EFF05E
analogous
#5EA6F0 #5F5EF0 #A85EF0
triadic
#5F5EF0 #F05F5E #5EF05F
tetradic
#5F5EF0 #F05EA6 #EFF05E #5EF0A8
square
#5F5EF0 #F05EA6 #EFF05E #5EF0A8
split-complementary
#5F5EF0 #F0A85E #A6F05E
monochromatic
#1312C2 #2726EB #5F5EF0 #9796F5 #CECEFA
Accessibility & contrast
On white
4.83
#5F5EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#5F5EF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5EF0
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5EF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5EF0 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f5ef0; /* rgb */ color: rgb(95, 94, 240); /* oklch */ color: oklch(56.8% 0.213 277.5);
Tailwind
colors: {
custom: {
50: '#9a8cf6',
500: '#5f5ef0',
950: '#000000',
},
}SCSS
$custom: #5f5ef0; $custom-light: #9a8cf6; $custom-dark: #000000;
JSON
{
"hex": "#5f5ef0",
"rgb": {
"r": 95,
"g": 94,
"b": 240
},
"hsl": {
"h": 240.411,
"s": 82.955,
"l": 65.49
},
"oklch": {
"l": 0.56835,
"c": 0.21331,
"h": 277.5
},
"luminance": 0.1673
}Semantic roles & 50–950 ramp
primary
#5F5EF0
secondary
#EDEDBC
accent
#DF06DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85