#5F64E9#5F64E9
#5F64E9 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.197 H 276.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5F64E9 |
|---|---|
| RGB | rgb(95, 100, 233) |
| HSL | hsl(238, 76%, 64%) |
| HSV | hsv(238, 59%, 91%) |
| CMYK | cmyk(59.2%, 57.1%, 0%, 8.6%) |
| CIE-LAB | lab(48.80, 36.65, -68.13) |
| CIE-LCH | lch(48.80, 77.36, 298.28°) |
| OKLab | oklab(57.32% 0.0226 -0.1957) |
| OKLCH | oklch(57.32% 0.197 276.6) |
| XYZ | xyz(23.9797, 17.4286, 79.1754) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.92
Mediumslateblue
#7B68EE
ΔE00 4.79
Royal Blue
#4169E1
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F64E9 #E9E45F
analogous
#5FA9E9 #5F64E9 #9F5FE9
triadic
#5F64E9 #E95F64 #64E95F
tetradic
#5F64E9 #E95FA9 #E9E45F #5FE99F
square
#5F64E9 #E95FA9 #E9E45F #5FE99F
split-complementary
#5F64E9 #E99F5F #A9E95F
monochromatic
#191FB5 #2930E2 #5F64E9 #9598F0 #CBCCF8
Accessibility & contrast
On white
4.68
#5F64E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#5F64E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F64E9
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F64E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F64E9 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f64e9; /* rgb */ color: rgb(95, 100, 233); /* oklch */ color: oklch(57.3% 0.197 276.6);
Tailwind
colors: {
custom: {
50: '#9990f1',
500: '#5f64e9',
950: '#000000',
},
}SCSS
$custom: #5f64e9; $custom-light: #9990f1; $custom-dark: #000000;
JSON
{
"hex": "#5f64e9",
"rgb": {
"r": 95,
"g": 100,
"b": 233
},
"hsl": {
"h": 237.826,
"s": 75.824,
"l": 64.314
},
"oklch": {
"l": 0.57324,
"c": 0.19698,
"h": 276.6
},
"luminance": 0.1743
}Semantic roles & 50–950 ramp
primary
#5F64E9
secondary
#EAE8BA
accent
#D10DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85