#5F64EA#5F64EA
#5F64EA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.4% C 0.198 H 276.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5F64EA |
|---|---|
| RGB | rgb(95, 100, 234) |
| HSL | hsl(238, 77%, 65%) |
| HSV | hsv(238, 59%, 92%) |
| CMYK | cmyk(59.4%, 57.3%, 0%, 8.2%) |
| CIE-LAB | lab(48.87, 36.97, -68.58) |
| CIE-LCH | lch(48.87, 77.91, 298.33°) |
| OKLab | oklab(57.4% 0.0226 -0.197) |
| OKLCH | oklch(57.4% 0.198 276.6) |
| XYZ | xyz(24.1230, 17.4859, 79.9299) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.03
Mediumslateblue
#7B68EE
ΔE00 4.74
Royal Blue
#4169E1
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F64EA #EAE55F
analogous
#5FA9EA #5F64EA #A05FEA
triadic
#5F64EA #EA5F64 #64EA5F
tetradic
#5F64EA #EA5FA9 #EAE55F #5FEAA0
square
#5F64EA #EA5FA9 #EAE55F #5FEAA0
split-complementary
#5F64EA #EAA05F #A9EA5F
monochromatic
#181EB7 #2930E3 #5F64EA #9598F1 #CBCDF8
Accessibility & contrast
On white
4.67
#5F64EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#5F64EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5F64EA
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F64EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F64EA | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f64ea; /* rgb */ color: rgb(95, 100, 234); /* oklch */ color: oklch(57.4% 0.198 276.6);
Tailwind
colors: {
custom: {
50: '#9990f2',
500: '#5f64ea',
950: '#000000',
},
}SCSS
$custom: #5f64ea; $custom-light: #9990f2; $custom-dark: #000000;
JSON
{
"hex": "#5f64ea",
"rgb": {
"r": 95,
"g": 100,
"b": 234
},
"hsl": {
"h": 237.842,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.57399,
"c": 0.19829,
"h": 276.6
},
"luminance": 0.17488
}Semantic roles & 50–950 ramp
primary
#5F64EA
secondary
#EAE9BA
accent
#D20CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85