#3542B2#3542B2
#3542B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.176 H 271.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3542B2 |
|---|---|
| RGB | rgb(53, 66, 178) |
| HSL | hsl(234, 54%, 45%) |
| HSV | hsv(234, 70%, 70%) |
| CMYK | cmyk(70.2%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(33.70, 32.70, -61.07) |
| CIE-LCH | lch(33.70, 69.27, 298.17°) |
| OKLab | oklab(44.15% 0.0058 -0.1763) |
| OKLCH | oklch(44.15% 0.176 271.9) |
| XYZ | xyz(11.4496, 7.8666, 43.0258) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Sapphire (survey)
#2138AB
ΔE00 3.27
Ocean Blue
#4F42B5
ΔE00 3.84
Blueberry
#464196
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.27
Blue (survey)
#0343DF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3542B2 #B2A535
analogous
#3580B2 #3542B2 #6635B2
triadic
#3542B2 #B23542 #42B235
tetradic
#3542B2 #B23580 #B2A535 #35B266
square
#3542B2 #B23580 #B2A535 #35B266
split-complementary
#3542B2 #B26635 #80B235
monochromatic
#191F54 #273183 #3542B2 #5763CD #868FDB
Accessibility & contrast
On white
8.16
#3542B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#3542B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3542B2
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3542B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3542B2 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3542b2; /* rgb */ color: rgb(53, 66, 178); /* oklch */ color: oklch(44.2% 0.176 271.9);
Tailwind
colors: {
custom: {
50: '#7d76ca',
500: '#3542b2',
950: '#000000',
},
}SCSS
$custom: #3542b2; $custom-light: #7d76ca; $custom-dark: #000000;
JSON
{
"hex": "#3542b2",
"rgb": {
"r": 53,
"g": 66,
"b": 178
},
"hsl": {
"h": 233.76,
"s": 54.113,
"l": 45.294
},
"oklch": {
"l": 0.44151,
"c": 0.17637,
"h": 271.9
},
"luminance": 0.07868
}Semantic roles & 50–950 ramp
primary
#3542B2
secondary
#C5BD7E
accent
#CE4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82