#3C31E2#3C31E2
#3C31E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.8% C 0.250 H 273.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3C31E2 |
|---|---|
| RGB | rgb(60, 49, 226) |
| HSL | hsl(244, 75%, 54%) |
| HSV | hsv(244, 78%, 89%) |
| CMYK | cmyk(73.5%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(35.29, 58.86, -86.39) |
| CIE-LCH | lch(35.29, 104.53, 304.27°) |
| OKLab | oklab(46.8% 0.0157 -0.2499) |
| OKLCH | oklch(46.8% 0.25 273.6) |
| XYZ | xyz(16.6847, 8.6466, 72.7264) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vivid Blue
#152EFF
ΔE00 3.11
Light Royal Blue
#3A2EFE
ΔE00 3.21
Vibrant Blue
#0339F8
ΔE00 3.53
Blurple
#5539CC
ΔE00 3.58
Rich Blue
#021BF9
ΔE00 3.75
Purpley Blue
#5F34E7
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C31E2 #D7E231
analogous
#317FE2 #3C31E2 #9531E2
triadic
#3C31E2 #E23C31 #31E23C
tetradic
#3C31E2 #E2317F #D7E231 #31E295
square
#3C31E2 #E2317F #D7E231 #31E295
split-complementary
#3C31E2 #E29531 #7FE231
monochromatic
#1A1386 #241ABB #3C31E2 #6F67EA #A29CF1
Accessibility & contrast
On white
7.69
#3C31E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3C31E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C31E2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C31E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C31E2 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3c31e2; /* rgb */ color: rgb(60, 49, 226); /* oklch */ color: oklch(46.8% 0.250 273.6);
Tailwind
colors: {
custom: {
50: '#8c6ded',
500: '#3c31e2',
950: '#000000',
},
}SCSS
$custom: #3c31e2; $custom-light: #8c6ded; $custom-dark: #000000;
JSON
{
"hex": "#3c31e2",
"rgb": {
"r": 60,
"g": 49,
"b": 226
},
"hsl": {
"h": 243.729,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.46796,
"c": 0.25041,
"h": 273.6
},
"luminance": 0.08648
}Semantic roles & 50–950 ramp
primary
#3C31E2
secondary
#D8DD92
accent
#F236E6
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85