#3640AA#3640AA
#3640AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.168 H 273.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3640AA |
|---|---|
| RGB | rgb(54, 64, 170) |
| HSL | hsl(235, 52%, 44%) |
| HSV | hsv(235, 68%, 67%) |
| CMYK | cmyk(68.2%, 62.4%, 0%, 33.3%) |
| CIE-LAB | lab(32.60, 31.27, -58.11) |
| CIE-LCH | lch(32.60, 65.98, 298.28°) |
| OKLab | oklab(43.14% 0.0087 -0.1676) |
| OKLCH | oklch(43.14% 0.168 273) |
| XYZ | xyz(10.6080, 7.3524, 38.8825) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Blue Blue
#2242C7
ΔE00 4.01
Ocean Blue
#4F42B5
ΔE00 4.07
Blueberry
#464196
ΔE00 4.08
Cobalt
#0047AB
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3640AA #AAA036
analogous
#367AAA #3640AA #6636AA
triadic
#3640AA #AA3640 #40AA36
tetradic
#3640AA #AA367A #AAA036 #36AA66
square
#3640AA #AA367A #AAA036 #36AA66
split-complementary
#3640AA #AA6636 #7AAA36
monochromatic
#181D4D #272F7C #3640AA #545EC9 #838AD8
Accessibility & contrast
On white
8.50
#3640AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#3640AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3640AA
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3640AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3640AA | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3640aa; /* rgb */ color: rgb(54, 64, 170); /* oklch */ color: oklch(43.1% 0.168 273.0);
Tailwind
colors: {
custom: {
50: '#7c75c4',
500: '#3640aa',
950: '#000000',
},
}SCSS
$custom: #3640aa; $custom-light: #7c75c4; $custom-dark: #000000;
JSON
{
"hex": "#3640aa",
"rgb": {
"r": 54,
"g": 64,
"b": 170
},
"hsl": {
"h": 234.828,
"s": 51.786,
"l": 43.922
},
"oklch": {
"l": 0.43143,
"c": 0.16781,
"h": 273
},
"luminance": 0.07353
}Semantic roles & 50–950 ramp
primary
#3640AA
secondary
#C1BB7B
accent
#CF4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82