#3631E2#3631E2
#3631E2 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.5% C 0.252 H 272.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3631E2 |
|---|---|
| RGB | rgb(54, 49, 226) |
| HSL | hsl(242, 75%, 54%) |
| HSV | hsv(242, 78%, 89%) |
| CMYK | cmyk(76.1%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(34.94, 58.45, -86.98) |
| CIE-LCH | lch(34.94, 104.79, 303.90°) |
| OKLab | oklab(46.46% 0.0087 -0.2517) |
| OKLCH | oklch(46.46% 0.252 272) |
| XYZ | xyz(16.3425, 8.4701, 72.7104) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.05
Vibrant Blue
#0339F8
ΔE00 3.38
Light Royal Blue
#3A2EFE
ΔE00 3.39
Rich Blue
#021BF9
ΔE00 3.60
Blurple
#5539CC
ΔE00 3.89
Blue With A Hint Of Purple
#533CC6
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3631E2 #DDE231
analogous
#3185E2 #3631E2 #8F31E2
triadic
#3631E2 #E23631 #31E236
tetradic
#3631E2 #E23185 #DDE231 #31E28F
square
#3631E2 #E23185 #DDE231 #31E28F
split-complementary
#3631E2 #E28F31 #85E231
monochromatic
#161386 #1F1ABB #3631E2 #6A67EA #9F9CF1
Accessibility & contrast
On white
7.79
#3631E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#3631E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3631E2
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3631E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3631E2 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#0049DF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3631e2; /* rgb */ color: rgb(54, 49, 226); /* oklch */ color: oklch(46.5% 0.252 272.0);
Tailwind
colors: {
custom: {
50: '#8a6ded',
500: '#3631e2',
950: '#000000',
},
}SCSS
$custom: #3631e2; $custom-light: #8a6ded; $custom-dark: #000000;
JSON
{
"hex": "#3631e2",
"rgb": {
"r": 54,
"g": 49,
"b": 226
},
"hsl": {
"h": 241.695,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.46457,
"c": 0.2519,
"h": 272
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#3631E2
secondary
#DBDD92
accent
#F236ED
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85