#5F62E8#5F62E8
#5F62E8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.198 H 277.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5F62E8 |
|---|---|
| RGB | rgb(95, 98, 232) |
| HSL | hsl(239, 75%, 64%) |
| HSV | hsv(239, 59%, 91%) |
| CMYK | cmyk(59.1%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(48.25, 37.53, -68.45) |
| CIE-LCH | lch(48.25, 78.07, 298.74°) |
| OKLab | oklab(56.9% 0.0245 -0.1966) |
| OKLCH | oklch(56.9% 0.198 277.1) |
| XYZ | xyz(23.6478, 16.9927, 78.3620) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.52
Warm Blue
#4B57DB
ΔE00 4.70
Mediumslateblue
#7B68EE
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F62E8 #E8E55F
analogous
#5FA7E8 #5F62E8 #A15FE8
triadic
#5F62E8 #E85F62 #62E85F
tetradic
#5F62E8 #E85FA7 #E8E55F #5FE8A1
square
#5F62E8 #E85FA7 #E8E55F #5FE8A1
split-complementary
#5F62E8 #E8A15F #A7E85F
monochromatic
#1A1DB3 #292DE0 #5F62E8 #9597F0 #CACBF7
Accessibility & contrast
On white
4.77
#5F62E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5F62E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F62E8
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F62E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F62E8 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5f62e8; /* rgb */ color: rgb(95, 98, 232); /* oklch */ color: oklch(56.9% 0.198 277.1);
Tailwind
colors: {
custom: {
50: '#998ef0',
500: '#5f62e8',
950: '#000000',
},
}SCSS
$custom: #5f62e8; $custom-light: #998ef0; $custom-dark: #000000;
JSON
{
"hex": "#5f62e8",
"rgb": {
"r": 95,
"g": 98,
"b": 232
},
"hsl": {
"h": 238.686,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.56898,
"c": 0.19816,
"h": 277.1
},
"luminance": 0.16994
}Semantic roles & 50–950 ramp
primary
#5F62E8
secondary
#E9E8BA
accent
#D30ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85