#3545B2#3545B2
#3545B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.173 H 271.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3545B2 |
|---|---|
| RGB | rgb(53, 69, 178) |
| HSL | hsl(232, 54%, 45%) |
| HSV | hsv(232, 70%, 70%) |
| CMYK | cmyk(70.2%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.45, 30.77, -59.85) |
| CIE-LCH | lch(34.45, 67.30, 297.21°) |
| OKLab | oklab(44.7% 0.0035 -0.1727) |
| OKLCH | oklch(44.7% 0.173 271.2) |
| XYZ | xyz(11.6295, 8.2263, 43.0858) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.98
Sapphire (survey)
#2138AB
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 4.22
Cobalt
#0047AB
ΔE00 4.73
Blueberry
#464196
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3545B2 #B2A235
analogous
#3583B2 #3545B2 #6335B2
triadic
#3545B2 #B23545 #45B235
tetradic
#3545B2 #B23583 #B2A235 #35B263
square
#3545B2 #B23583 #B2A235 #35B263
split-complementary
#3545B2 #B26335 #83B235
monochromatic
#192054 #273383 #3545B2 #5766CD #8691DB
Accessibility & contrast
On white
7.94
#3545B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3545B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3545B2
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3545B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3545B2 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3545b2; /* rgb */ color: rgb(53, 69, 178); /* oklch */ color: oklch(44.7% 0.173 271.2);
Tailwind
colors: {
custom: {
50: '#7d78ca',
500: '#3545b2',
950: '#000000',
},
}SCSS
$custom: #3545b2; $custom-light: #7d78ca; $custom-dark: #000000;
JSON
{
"hex": "#3545b2",
"rgb": {
"r": 53,
"g": 69,
"b": 178
},
"hsl": {
"h": 232.32,
"s": 54.113,
"l": 45.294
},
"oklch": {
"l": 0.44702,
"c": 0.17272,
"h": 271.2
},
"luminance": 0.08227
}Semantic roles & 50–950 ramp
primary
#3545B2
secondary
#C5BC7E
accent
#CB4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82