#5F64E7#5F64E7
#5F64E7 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.194 H 276.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5F64E7 |
|---|---|
| RGB | rgb(95, 100, 231) |
| HSL | hsl(238, 74%, 64%) |
| HSV | hsv(238, 59%, 91%) |
| CMYK | cmyk(58.9%, 56.7%, 0%, 9.4%) |
| CIE-LAB | lab(48.65, 36.00, -67.24) |
| CIE-LCH | lch(48.65, 76.27, 298.17°) |
| OKLab | oklab(57.18% 0.0226 -0.193) |
| OKLCH | oklch(57.18% 0.194 276.7) |
| XYZ | xyz(23.6956, 17.3150, 77.6793) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.71
Mediumslateblue
#7B68EE
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F64E7 #E7E25F
analogous
#5FA8E7 #5F64E7 #9E5FE7
triadic
#5F64E7 #E75F64 #64E75F
tetradic
#5F64E7 #E75FA8 #E7E25F #5FE79E
square
#5F64E7 #E75FA8 #E7E25F #5FE79E
split-complementary
#5F64E7 #E79E5F #A8E75F
monochromatic
#1B20B1 #2A30DF #5F64E7 #9498EF #C9CBF7
Accessibility & contrast
On white
4.70
#5F64E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#5F64E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F64E7
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F64E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F64E7 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f64e7; /* rgb */ color: rgb(95, 100, 231); /* oklch */ color: oklch(57.2% 0.194 276.7);
Tailwind
colors: {
custom: {
50: '#9890ef',
500: '#5f64e7',
950: '#000000',
},
}SCSS
$custom: #5f64e7; $custom-light: #9890ef; $custom-dark: #000000;
JSON
{
"hex": "#5f64e7",
"rgb": {
"r": 95,
"g": 100,
"b": 231
},
"hsl": {
"h": 237.794,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.57175,
"c": 0.19436,
"h": 276.7
},
"luminance": 0.17317
}Semantic roles & 50–950 ramp
primary
#5F64E7
secondary
#E9E7B9
accent
#CF0FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85