#635EF6#635EF6
#635EF6 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.6% C 0.220 H 278.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #635EF6 |
|---|---|
| RGB | rgb(99, 94, 246) |
| HSL | hsl(242, 89%, 67%) |
| HSV | hsv(242, 62%, 96%) |
| CMYK | cmyk(59.8%, 61.8%, 0%, 3.5%) |
| CIE-LAB | lab(48.65, 44.99, -75.64) |
| CIE-LCH | lch(48.65, 88.01, 300.74°) |
| OKLab | oklab(57.59% 0.0321 -0.2177) |
| OKLCH | oklch(57.59% 0.22 278.4) |
| XYZ | xyz(25.7775, 17.3099, 89.1537) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.58
Dark Periwinkle
#665FD1
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 5.65
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635EF6 #F1F65E
analogous
#5EA5F6 #635EF6 #AF5EF6
triadic
#635EF6 #F6635E #5EF663
tetradic
#635EF6 #F65EA5 #F1F65E #5EF6AF
square
#635EF6 #F65EA5 #F1F65E #5EF6AF
split-complementary
#635EF6 #F6AF5E #A5F65E
monochromatic
#120CCE #2B24F3 #635EF6 #9B98F9 #D3D2FC
Accessibility & contrast
On white
4.71
#635EF6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#635EF6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635EF6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635EF6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635EF6 | 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)
#007AFB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #635ef6; /* rgb */ color: rgb(99, 94, 246); /* oklch */ color: oklch(57.6% 0.220 278.4);
Tailwind
colors: {
custom: {
50: '#9d8cfa',
500: '#635ef6',
950: '#000000',
},
}SCSS
$custom: #635ef6; $custom-light: #9d8cfa; $custom-dark: #000000;
JSON
{
"hex": "#635ef6",
"rgb": {
"r": 99,
"g": 94,
"b": 246
},
"hsl": {
"h": 241.974,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.57586,
"c": 0.22006,
"h": 278.4
},
"luminance": 0.17312
}Semantic roles & 50–950 ramp
primary
#635EF6
secondary
#EFF0BF
accent
#E600DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85