#5F60E2#5F60E2
#5F60E2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.1% C 0.193 H 277.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5F60E2 |
|---|---|
| RGB | rgb(95, 96, 226) |
| HSL | hsl(240, 69%, 63%) |
| HSV | hsv(240, 58%, 89%) |
| CMYK | cmyk(58%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(47.35, 36.82, -66.53) |
| CIE-LCH | lch(47.35, 76.04, 298.96°) |
| OKLab | oklab(56.09% 0.0264 -0.191) |
| OKLCH | oklch(56.09% 0.193 277.9) |
| XYZ | xyz(22.6253, 16.2880, 73.8884) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.23
Iris
#6258C4
ΔE00 5.05
Mediumslateblue
#7B68EE
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F60E2 #E2E15F
analogous
#5FA1E2 #5F60E2 #9F5FE2
triadic
#5F60E2 #E25F60 #60E25F
tetradic
#5F60E2 #E25FA1 #E2E15F #5FE29F
square
#5F60E2 #E25FA1 #E2E15F #5FE29F
split-complementary
#5F60E2 #E29F5F #A1E25F
monochromatic
#1E20A8 #2B2DD9 #5F60E2 #9393EB #C7C7F5
Accessibility & contrast
On white
4.93
#5F60E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5F60E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F60E2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F60E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F60E2 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f60e2; /* rgb */ color: rgb(95, 96, 226); /* oklch */ color: oklch(56.1% 0.193 277.9);
Tailwind
colors: {
custom: {
50: '#988dec',
500: '#5f60e2',
950: '#000000',
},
}SCSS
$custom: #5f60e2; $custom-light: #988dec; $custom-dark: #000000;
JSON
{
"hex": "#5f60e2",
"rgb": {
"r": 95,
"g": 96,
"b": 226
},
"hsl": {
"h": 239.542,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.56095,
"c": 0.19281,
"h": 277.9
},
"luminance": 0.1629
}Semantic roles & 50–950 ramp
primary
#5F60E2
secondary
#E6E6B7
accent
#D014D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84