#5F63E7#5F63E7
#5F63E7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.196 H 276.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5F63E7 |
|---|---|
| RGB | rgb(95, 99, 231) |
| HSL | hsl(238, 74%, 64%) |
| HSV | hsv(238, 59%, 91%) |
| CMYK | cmyk(58.9%, 57.1%, 0%, 9.4%) |
| CIE-LAB | lab(48.42, 36.61, -67.62) |
| CIE-LCH | lch(48.42, 76.90, 298.43°) |
| OKLab | oklab(57% 0.0235 -0.1942) |
| OKLCH | oklch(57% 0.196 276.9) |
| XYZ | xyz(23.6003, 17.1243, 77.6475) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 4.85
Mediumslateblue
#7B68EE
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F63E7 #E7E35F
analogous
#5FA7E7 #5F63E7 #9F5FE7
triadic
#5F63E7 #E75F63 #63E75F
tetradic
#5F63E7 #E75FA7 #E7E35F #5FE79F
square
#5F63E7 #E75FA7 #E7E35F #5FE79F
split-complementary
#5F63E7 #E79F5F #A7E75F
monochromatic
#1B1FB1 #2A2FDF #5F63E7 #9497EF #C9CBF7
Accessibility & contrast
On white
4.75
#5F63E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5F63E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F63E7
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F63E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F63E7 | 1.00 | 4.75 | 4.43 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5f63e7; /* rgb */ color: rgb(95, 99, 231); /* oklch */ color: oklch(57.0% 0.196 276.9);
Tailwind
colors: {
custom: {
50: '#988fef',
500: '#5f63e7',
950: '#000000',
},
}SCSS
$custom: #5f63e7; $custom-light: #988fef; $custom-dark: #000000;
JSON
{
"hex": "#5f63e7",
"rgb": {
"r": 95,
"g": 99,
"b": 231
},
"hsl": {
"h": 238.235,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.56998,
"c": 0.19561,
"h": 276.9
},
"luminance": 0.17126
}Semantic roles & 50–950 ramp
primary
#5F63E7
secondary
#E9E7B9
accent
#D00FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85