#3640C2#3640C2
#3640C2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.199 H 272.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3640C2 |
|---|---|
| RGB | rgb(54, 64, 194) |
| HSL | hsl(236, 56%, 49%) |
| HSV | hsv(236, 72%, 76%) |
| CMYK | cmyk(72.2%, 67%, 0%, 23.9%) |
| CIE-LAB | lab(34.69, 39.71, -68.88) |
| CIE-LCH | lch(34.69, 79.51, 299.96°) |
| OKLab | oklab(45.32% 0.0071 -0.1991) |
| OKLCH | oklch(45.32% 0.199 272) |
| XYZ | xyz(13.0890, 8.3448, 51.9494) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.87
Ocean Blue
#4F42B5
ΔE00 3.56
Blue (survey)
#0343DF
ΔE00 3.92
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 4.34
Blurple
#5539CC
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3640C2 #C2B836
analogous
#3686C2 #3640C2 #7236C2
triadic
#3640C2 #C23640 #40C236
tetradic
#3640C2 #C23686 #C2B836 #36C272
square
#3640C2 #C23686 #C2B836 #36C272
split-complementary
#3640C2 #C27236 #86C236
monochromatic
#1B2062 #293092 #3640C2 #626AD3 #9297E1
Accessibility & contrast
On white
7.87
#3640C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3640C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3640C2
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3640C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3640C2 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3640c2; /* rgb */ color: rgb(54, 64, 194); /* oklch */ color: oklch(45.3% 0.199 272.0);
Tailwind
colors: {
custom: {
50: '#8175d6',
500: '#3640c2',
950: '#000000',
},
}SCSS
$custom: #3640c2; $custom-light: #8175d6; $custom-dark: #000000;
JSON
{
"hex": "#3640c2",
"rgb": {
"r": 54,
"g": 64,
"b": 194
},
"hsl": {
"h": 235.714,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.4532,
"c": 0.19928,
"h": 272
},
"luminance": 0.08346
}Semantic roles & 50–950 ramp
primary
#3640C2
secondary
#CCC788
accent
#D548E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83