#3642AF#3642AF
#3642AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.172 H 272.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3642AF |
|---|---|
| RGB | rgb(54, 66, 175) |
| HSL | hsl(234, 53%, 45%) |
| HSV | hsv(234, 69%, 69%) |
| CMYK | cmyk(69.1%, 62.3%, 0%, 31.4%) |
| CIE-LAB | lab(33.51, 31.76, -59.60) |
| CIE-LCH | lch(33.51, 67.54, 298.05°) |
| OKLab | oklab(43.95% 0.007 -0.1719) |
| OKLCH | oklch(43.95% 0.172 272.3) |
| XYZ | xyz(11.2048, 7.7748, 41.4593) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.23
Blue Blue
#2242C7
ΔE00 3.30
Ocean Blue
#4F42B5
ΔE00 3.87
Blueberry
#464196
ΔE00 4.64
Cobalt
#0047AB
ΔE00 5.24
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3642AF #AFA336
analogous
#367EAF #3642AF #6736AF
triadic
#3642AF #AF3642 #42AF36
tetradic
#3642AF #AF367E #AFA336 #36AF67
square
#3642AF #AF367E #AFA336 #36AF67
split-complementary
#3642AF #AF6736 #7EAF36
monochromatic
#191F51 #283080 #3642AF #5763CB #868EDA
Accessibility & contrast
On white
8.22
#3642AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3642AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3642AF
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3642AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3642AF | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3642af; /* rgb */ color: rgb(54, 66, 175); /* oklch */ color: oklch(43.9% 0.172 272.3);
Tailwind
colors: {
custom: {
50: '#7d76c8',
500: '#3642af',
950: '#000000',
},
}SCSS
$custom: #3642af; $custom-light: #7d76c8; $custom-dark: #000000;
JSON
{
"hex": "#3642af",
"rgb": {
"r": 54,
"g": 66,
"b": 175
},
"hsl": {
"h": 234.05,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.43945,
"c": 0.17209,
"h": 272.3
},
"luminance": 0.07776
}Semantic roles & 50–950 ramp
primary
#3642AF
secondary
#C3BC7D
accent
#CE4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82