#5F6BF6#5F6BF6
#5F6BF6 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 59.5% C 0.205 H 274.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6BF6 |
|---|---|
| RGB | rgb(95, 107, 246) |
| HSL | hsl(235, 89%, 67%) |
| HSV | hsv(235, 61%, 96%) |
| CMYK | cmyk(61.4%, 56.5%, 0%, 3.5%) |
| CIE-LAB | lab(51.38, 36.64, -71.21) |
| CIE-LCH | lch(51.38, 80.08, 297.23°) |
| OKLab | oklab(59.54% 0.0164 -0.2047) |
| OKLCH | oklch(59.54% 0.205 274.6) |
| XYZ | xyz(26.6061, 19.5999, 89.5520) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.47
Mediumslateblue
#7B68EE
ΔE00 4.74
Cornflower Blue
#5170D7
ΔE00 5.43
Royal Blue
#4169E1
ΔE00 5.44
Bright Blue
#0165FC
ΔE00 6.46
Dark Periwinkle
#665FD1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6BF6 #F6EA5F
analogous
#5FB7F6 #5F6BF6 #9F5FF6
triadic
#5F6BF6 #F65F6B #6BF65F
tetradic
#5F6BF6 #F65FB7 #F6EA5F #5FF69F
square
#5F6BF6 #F65FB7 #F6EA5F #5FF69F
split-complementary
#5F6BF6 #F69F5F #B7F65F
monochromatic
#0C1BCF #2535F3 #5F6BF6 #99A1F9 #D3D6FD
Accessibility & contrast
On white
4.27
#5F6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#5F6BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F6BF6
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F6BF6 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5f6bf6; /* rgb */ color: rgb(95, 107, 246); /* oklch */ color: oklch(59.5% 0.205 274.6);
Tailwind
colors: {
custom: {
50: '#9a95fa',
500: '#5f6bf6',
950: '#000000',
},
}SCSS
$custom: #5f6bf6; $custom-light: #9a95fa; $custom-dark: #000000;
JSON
{
"hex": "#5f6bf6",
"rgb": {
"r": 95,
"g": 107,
"b": 246
},
"hsl": {
"h": 235.232,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.59535,
"c": 0.20533,
"h": 274.6
},
"luminance": 0.19602
}Semantic roles & 50–950 ramp
primary
#5F6BF6
secondary
#F1EDC0
accent
#D300E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85