#4545C6#4545C6
#4545C6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.195 H 276.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4545C6 |
|---|---|
| RGB | rgb(69, 69, 198) |
| HSL | hsl(240, 53%, 52%) |
| HSV | hsv(240, 65%, 78%) |
| CMYK | cmyk(65.2%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(37.11, 39.90, -67.22) |
| CIE-LCH | lch(37.11, 78.17, 300.70°) |
| OKLab | oklab(47.43% 0.0204 -0.1939) |
| OKLCH | oklch(47.43% 0.195 276) |
| XYZ | xyz(14.7721, 9.5974, 54.4892) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.90
Blue With A Hint Of Purple
#533CC6
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 3.33
Blurple
#5539CC
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4545C6 #C6C645
analogous
#4586C6 #4545C6 #8645C6
triadic
#4545C6 #C64545 #45C645
tetradic
#4545C6 #C64586 #C6C645 #45C686
square
#4545C6 #C64586 #C6C645 #45C686
split-complementary
#4545C6 #C68645 #86C645
monochromatic
#22226F #30309E #4545C6 #7474D4 #A3A3E3
Accessibility & contrast
On white
7.19
#4545C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4545C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4545C6
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4545C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4545C6 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4545c6; /* rgb */ color: rgb(69, 69, 198); /* oklch */ color: oklch(47.4% 0.195 276.0);
Tailwind
colors: {
custom: {
50: '#8879d8',
500: '#4545c6',
950: '#000000',
},
}SCSS
$custom: #4545c6; $custom-light: #8879d8; $custom-dark: #000000;
JSON
{
"hex": "#4545c6",
"rgb": {
"r": 69,
"g": 69,
"b": 198
},
"hsl": {
"h": 240,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.47432,
"c": 0.19496,
"h": 276
},
"luminance": 0.09599
}Semantic roles & 50–950 ramp
primary
#4545C6
secondary
#CFCF97
accent
#DC4BDC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83