#3640C3#3640C3
#3640C3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.4% C 0.201 H 272.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3640C3 |
|---|---|
| RGB | rgb(54, 64, 195) |
| HSL | hsl(236, 57%, 49%) |
| HSV | hsv(236, 72%, 76%) |
| CMYK | cmyk(72.3%, 67.2%, 0%, 23.5%) |
| CIE-LAB | lab(34.78, 40.05, -69.32) |
| CIE-LCH | lch(34.78, 80.06, 300.02°) |
| OKLab | oklab(45.41% 0.007 -0.2004) |
| OKLCH | oklch(45.41% 0.201 272) |
| XYZ | xyz(13.2017, 8.3899, 52.5428) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.86
Ocean Blue
#4F42B5
ΔE00 3.60
Blue (survey)
#0343DF
ΔE00 3.82
Blue With A Hint Of Purple
#533CC6
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.45
Blurple
#5539CC
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3640C3 #C3B936
analogous
#3687C3 #3640C3 #7336C3
triadic
#3640C3 #C33640 #40C336
tetradic
#3640C3 #C33687 #C3B936 #36C373
square
#3640C3 #C33687 #C3B936 #36C373
split-complementary
#3640C3 #C37336 #87C336
monochromatic
#1B2163 #293093 #3640C3 #636BD4 #9298E1
Accessibility & contrast
On white
7.84
#3640C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#3640C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3640C3
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3640C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3640C3 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3640c3; /* rgb */ color: rgb(54, 64, 195); /* oklch */ color: oklch(45.4% 0.201 272.0);
Tailwind
colors: {
custom: {
50: '#8175d6',
500: '#3640c3',
950: '#000000',
},
}SCSS
$custom: #3640c3; $custom-light: #8175d6; $custom-dark: #000000;
JSON
{
"hex": "#3640c3",
"rgb": {
"r": 54,
"g": 64,
"b": 195
},
"hsl": {
"h": 235.745,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.45414,
"c": 0.20055,
"h": 272
},
"luminance": 0.08391
}Semantic roles & 50–950 ramp
primary
#3640C3
secondary
#CCC789
accent
#D548E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83