#5F61E8#5F61E8
#5F61E8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.7% C 0.199 H 277.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5F61E8 |
|---|---|
| RGB | rgb(95, 97, 232) |
| HSL | hsl(239, 75%, 64%) |
| HSV | hsv(239, 59%, 91%) |
| CMYK | cmyk(59.1%, 58.2%, 0%, 9%) |
| CIE-LAB | lab(48.02, 38.13, -68.84) |
| CIE-LCH | lch(48.02, 78.69, 298.99°) |
| OKLab | oklab(56.72% 0.0254 -0.1978) |
| OKLCH | oklch(56.72% 0.199 277.3) |
| XYZ | xyz(23.5548, 16.8067, 78.3311) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.41
Warm Blue
#4B57DB
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 4.89
Mediumslateblue
#7B68EE
ΔE00 5.06
Royal Blue
#4169E1
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F61E8 #E8E65F
analogous
#5FA6E8 #5F61E8 #A25FE8
triadic
#5F61E8 #E85F61 #61E85F
tetradic
#5F61E8 #E85FA6 #E8E65F #5FE8A2
square
#5F61E8 #E85FA6 #E8E65F #5FE8A2
split-complementary
#5F61E8 #E8A25F #A6E85F
monochromatic
#1A1CB3 #292CE0 #5F61E8 #9596F0 #CACBF7
Accessibility & contrast
On white
4.81
#5F61E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5F61E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F61E8
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F61E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F61E8 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f61e8; /* rgb */ color: rgb(95, 97, 232); /* oklch */ color: oklch(56.7% 0.199 277.3);
Tailwind
colors: {
custom: {
50: '#998ef0',
500: '#5f61e8',
950: '#000000',
},
}SCSS
$custom: #5f61e8; $custom-light: #998ef0; $custom-dark: #000000;
JSON
{
"hex": "#5f61e8",
"rgb": {
"r": 95,
"g": 97,
"b": 232
},
"hsl": {
"h": 239.124,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.56723,
"c": 0.19939,
"h": 277.3
},
"luminance": 0.16808
}Semantic roles & 50–950 ramp
primary
#5F61E8
secondary
#E9E9BA
accent
#D40ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85