#5F63EA#5F63EA
#5F63EA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.200 H 276.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F63EA |
|---|---|
| RGB | rgb(95, 99, 234) |
| HSL | hsl(238, 77%, 65%) |
| HSV | hsv(238, 59%, 92%) |
| CMYK | cmyk(59.4%, 57.7%, 0%, 8.2%) |
| CIE-LAB | lab(48.63, 37.57, -68.96) |
| CIE-LCH | lch(48.63, 78.53, 298.58°) |
| OKLab | oklab(57.22% 0.0235 -0.1981) |
| OKLCH | oklch(57.22% 0.2 276.8) |
| XYZ | xyz(24.0276, 17.2953, 79.8981) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.87
Mediumslateblue
#7B68EE
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 5.05
Royal Blue
#4169E1
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F63EA #EAE65F
analogous
#5FA9EA #5F63EA #A05FEA
triadic
#5F63EA #EA5F63 #63EA5F
tetradic
#5F63EA #EA5FA9 #EAE65F #5FEAA0
square
#5F63EA #EA5FA9 #EAE65F #5FEAA0
split-complementary
#5F63EA #EAA05F #A9EA5F
monochromatic
#181DB7 #292EE3 #5F63EA #9598F1 #CBCCF8
Accessibility & contrast
On white
4.71
#5F63EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#5F63EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F63EA
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F63EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F63EA | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5f63ea; /* rgb */ color: rgb(95, 99, 234); /* oklch */ color: oklch(57.2% 0.200 276.8);
Tailwind
colors: {
custom: {
50: '#998ff2',
500: '#5f63ea',
950: '#000000',
},
}SCSS
$custom: #5f63ea; $custom-light: #998ff2; $custom-dark: #000000;
JSON
{
"hex": "#5f63ea",
"rgb": {
"r": 95,
"g": 99,
"b": 234
},
"hsl": {
"h": 238.273,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.57223,
"c": 0.19952,
"h": 276.8
},
"luminance": 0.17297
}Semantic roles & 50–950 ramp
primary
#5F63EA
secondary
#EAE9BA
accent
#D30CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85