#635CA6#635CA6
#635CA6 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.6% C 0.115 H 286.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #635CA6 |
|---|---|
| RGB | rgb(99, 92, 166) |
| HSL | hsl(246, 29%, 51%) |
| HSV | hsv(246, 45%, 65%) |
| CMYK | cmyk(40.4%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(42.85, 21.56, -39.04) |
| CIE-LCH | lch(42.85, 44.59, 298.91°) |
| OKLab | oklab(51.58% 0.0315 -0.1102) |
| OKLCH | oklch(51.58% 0.115 286) |
| XYZ | xyz(15.8537, 13.0596, 37.7544) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.44
Twilight
#4E518B
ΔE00 6.20
Slate Blue
#6A5ACD
ΔE00 6.62
Royal Purple
#7851A9
ΔE00 6.64
Light Indigo
#6D5ACF
ΔE00 7.00
Dark Periwinkle
#665FD1
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635CA6 #9FA65C
analogous
#5C7AA6 #635CA6 #885CA6
triadic
#635CA6 #A6635C #5CA663
tetradic
#635CA6 #A65C7A #9FA65C #5CA688
square
#635CA6 #A65C7A #9FA65C #5CA688
split-complementary
#635CA6 #A6885C #7AA65C
monochromatic
#343058 #4B467F #635CA6 #8984BC #AFABD1
Accessibility & contrast
On white
5.81
#635CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#635CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635CA6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635CA6 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4167A9
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#506B79
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #635ca6; /* rgb */ color: rgb(99, 92, 166); /* oklch */ color: oklch(51.6% 0.115 286.0);
Tailwind
colors: {
custom: {
50: '#938ac1',
500: '#635ca6',
950: '#000000',
},
}SCSS
$custom: #635ca6; $custom-light: #938ac1; $custom-dark: #000000;
JSON
{
"hex": "#635ca6",
"rgb": {
"r": 99,
"g": 92,
"b": 166
},
"hsl": {
"h": 245.676,
"s": 29.365,
"l": 50.588
},
"oklch": {
"l": 0.51584,
"c": 0.11458,
"h": 286
},
"luminance": 0.1306
}Semantic roles & 50–950 ramp
primary
#635CA6
secondary
#BCBF9E
accent
#C662BC
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0B12
muted
#7E7C81