#635EF2#635EF2
#635EF2 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.215 H 278.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #635EF2 |
|---|---|
| RGB | rgb(99, 94, 242) |
| HSL | hsl(242, 85%, 66%) |
| HSV | hsv(242, 61%, 95%) |
| CMYK | cmyk(59.1%, 61.2%, 0%, 5.1%) |
| CIE-LAB | lab(48.34, 43.74, -73.90) |
| CIE-LCH | lch(48.34, 85.88, 300.62°) |
| OKLab | oklab(57.27% 0.0324 -0.2126) |
| OKLCH | oklch(57.27% 0.215 278.7) |
| XYZ | xyz(25.1702, 17.0670, 85.9551) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.41
Mediumslateblue
#7B68EE
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.24
Warm Blue
#4B57DB
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.37
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635EF2 #EDF25E
analogous
#5EA3F2 #635EF2 #AD5EF2
triadic
#635EF2 #F2635E #5EF263
tetradic
#635EF2 #F25EA3 #EDF25E #5EF2AD
square
#635EF2 #F25EA3 #EDF25E #5EF2AD
split-complementary
#635EF2 #F2AD5E #A3F25E
monochromatic
#1610C6 #2C25ED #635EF2 #9A97F7 #D1CFFB
Accessibility & contrast
On white
4.76
#635EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#635EF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635EF2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635EF2 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #635ef2; /* rgb */ color: rgb(99, 94, 242); /* oklch */ color: oklch(57.3% 0.215 278.7);
Tailwind
colors: {
custom: {
50: '#9c8cf7',
500: '#635ef2',
950: '#000000',
},
}SCSS
$custom: #635ef2; $custom-light: #9c8cf7; $custom-dark: #000000;
JSON
{
"hex": "#635ef2",
"rgb": {
"r": 99,
"g": 94,
"b": 242
},
"hsl": {
"h": 242.027,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.57268,
"c": 0.21503,
"h": 278.7
},
"luminance": 0.17069
}Semantic roles & 50–950 ramp
primary
#635EF2
secondary
#EDEEBD
accent
#E204DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85