#635AA6#635AA6
#635AA6 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.2% C 0.118 H 286.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #635AA6 |
|---|---|
| RGB | rgb(99, 90, 166) |
| HSL | hsl(247, 30%, 50%) |
| HSV | hsv(247, 46%, 65%) |
| CMYK | cmyk(40.4%, 45.8%, 0%, 34.9%) |
| CIE-LAB | lab(42.33, 22.80, -39.86) |
| CIE-LCH | lch(42.33, 45.92, 299.77°) |
| OKLab | oklab(51.19% 0.0342 -0.1126) |
| OKLCH | oklch(51.19% 0.118 286.9) |
| XYZ | xyz(15.6828, 12.7176, 37.6974) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.25
Twilight
#4E518B
ΔE00 6.08
Royal Purple
#7851A9
ΔE00 6.13
Slate Blue
#6A5ACD
ΔE00 6.49
Light Indigo
#6D5ACF
ΔE00 6.87
Dark Periwinkle
#665FD1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635AA6 #9DA65A
analogous
#5A77A6 #635AA6 #895AA6
triadic
#635AA6 #A6635A #5AA663
tetradic
#635AA6 #A65A77 #9DA65A #5AA689
square
#635AA6 #A65A77 #9DA65A #5AA689
split-complementary
#635AA6 #A6895A #77A65A
monochromatic
#342F57 #4B447F #635AA6 #8982BB #AEAAD1
Accessibility & contrast
On white
5.93
#635AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#635AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635AA6
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635AA6 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#506978
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #635aa6; /* rgb */ color: rgb(99, 90, 166); /* oklch */ color: oklch(51.2% 0.118 286.9);
Tailwind
colors: {
custom: {
50: '#9388c1',
500: '#635aa6',
950: '#000000',
},
}SCSS
$custom: #635aa6; $custom-light: #9388c1; $custom-dark: #000000;
JSON
{
"hex": "#635aa6",
"rgb": {
"r": 99,
"g": 90,
"b": 166
},
"hsl": {
"h": 247.105,
"s": 29.921,
"l": 50.196
},
"oklch": {
"l": 0.51192,
"c": 0.11766,
"h": 286.9
},
"luminance": 0.12718
}Semantic roles & 50–950 ramp
primary
#635AA6
secondary
#BBBF9D
accent
#C662BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81