#635AA5#635AA5
#635AA5 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.1% C 0.116 H 287.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #635AA5 |
|---|---|
| RGB | rgb(99, 90, 165) |
| HSL | hsl(247, 29%, 50%) |
| HSV | hsv(247, 45%, 65%) |
| CMYK | cmyk(40%, 45.5%, 0%, 35.3%) |
| CIE-LAB | lab(42.28, 22.51, -39.36) |
| CIE-LCH | lch(42.28, 45.34, 299.76°) |
| OKLab | oklab(51.13% 0.034 -0.1111) |
| OKLCH | oklch(51.13% 0.116 287) |
| XYZ | xyz(15.5914, 12.6811, 37.2162) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.44
Twilight
#4E518B
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 6.14
Slate Blue
#6A5ACD
ΔE00 6.68
Light Indigo
#6D5ACF
ΔE00 7.05
Dark Periwinkle
#665FD1
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635AA5 #9CA55A
analogous
#5A76A5 #635AA5 #895AA5
triadic
#635AA5 #A5635A #5AA563
tetradic
#635AA5 #A55A76 #9CA55A #5AA589
square
#635AA5 #A55A76 #9CA55A #5AA589
split-complementary
#635AA5 #A5895A #76A55A
monochromatic
#332F56 #4B447D #635AA5 #8882BB #AEA9D0
Accessibility & contrast
On white
5.94
#635AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#635AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635AA5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635AA5 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#516977
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #635aa5; /* rgb */ color: rgb(99, 90, 165); /* oklch */ color: oklch(51.1% 0.116 287.0);
Tailwind
colors: {
custom: {
50: '#9388c0',
500: '#635aa5',
950: '#000000',
},
}SCSS
$custom: #635aa5; $custom-light: #9388c0; $custom-dark: #000000;
JSON
{
"hex": "#635aa5",
"rgb": {
"r": 99,
"g": 90,
"b": 165
},
"hsl": {
"h": 247.2,
"s": 29.412,
"l": 50
},
"oklch": {
"l": 0.51132,
"c": 0.1162,
"h": 287
},
"luminance": 0.12682
}Semantic roles & 50–950 ramp
primary
#635AA5
secondary
#BABE9D
accent
#C662BA
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0B12
muted
#7E7C81