#635BA6#635BA6
#635BA6 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.4% C 0.116 H 286.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #635BA6 |
|---|---|
| RGB | rgb(99, 91, 166) |
| HSL | hsl(246, 30%, 50%) |
| HSV | hsv(246, 45%, 65%) |
| CMYK | cmyk(40.4%, 45.2%, 0%, 34.9%) |
| CIE-LAB | lab(42.59, 22.18, -39.45) |
| CIE-LCH | lch(42.59, 45.26, 299.34°) |
| OKLab | oklab(51.39% 0.0329 -0.1114) |
| OKLCH | oklch(51.39% 0.116 286.4) |
| XYZ | xyz(15.7677, 12.8874, 37.7257) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.34
Twilight
#4E518B
ΔE00 6.13
Royal Purple
#7851A9
ΔE00 6.37
Slate Blue
#6A5ACD
ΔE00 6.55
Light Indigo
#6D5ACF
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635BA6 #9EA65B
analogous
#5B78A6 #635BA6 #885BA6
triadic
#635BA6 #A6635B #5BA663
tetradic
#635BA6 #A65B78 #9EA65B #5BA688
square
#635BA6 #A65B78 #9EA65B #5BA688
split-complementary
#635BA6 #A6885B #78A65B
monochromatic
#342F57 #4B457F #635BA6 #8983BC #AEAAD1
Accessibility & contrast
On white
5.87
#635BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#635BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635BA6
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635BA6 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#3F62A4
Tritanopia (blue-blind)
#506A78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #635ba6; /* rgb */ color: rgb(99, 91, 166); /* oklch */ color: oklch(51.4% 0.116 286.4);
Tailwind
colors: {
custom: {
50: '#9389c1',
500: '#635ba6',
950: '#000000',
},
}SCSS
$custom: #635ba6; $custom-light: #9389c1; $custom-dark: #000000;
JSON
{
"hex": "#635ba6",
"rgb": {
"r": 99,
"g": 91,
"b": 166
},
"hsl": {
"h": 246.4,
"s": 29.644,
"l": 50.392
},
"oklch": {
"l": 0.51388,
"c": 0.11612,
"h": 286.4
},
"luminance": 0.12888
}Semantic roles & 50–950 ramp
primary
#635BA6
secondary
#BCBF9E
accent
#C662BB
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81