#5545B2#5545B2
#5545B2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.166 H 284.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5545B2 |
|---|---|
| RGB | rgb(85, 69, 178) |
| HSL | hsl(249, 44%, 48%) |
| HSV | hsv(249, 61%, 70%) |
| CMYK | cmyk(52.2%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(36.75, 36.13, -56.01) |
| CIE-LCH | lch(36.75, 66.65, 302.82°) |
| OKLab | oklab(46.98% 0.0422 -0.1605) |
| OKLCH | oklch(46.98% 0.166 284.7) |
| XYZ | xyz(13.9079, 9.4012, 43.1926) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.31
Blue With A Hint Of Purple
#533CC6
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 3.86
Blurple
#5539CC
ΔE00 4.66
Blueberry
#464196
ΔE00 4.97
Iris
#6258C4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5545B2 #A2B245
analogous
#456BB2 #5545B2 #8B45B2
triadic
#5545B2 #B25545 #45B255
tetradic
#5545B2 #B2456B #A2B245 #45B28B
square
#5545B2 #B2456B #A2B245 #45B28B
split-complementary
#5545B2 #B28B45 #6BB245
monochromatic
#2B235A #403486 #5545B2 #7B6EC7 #A39AD8
Accessibility & contrast
On white
7.29
#5545B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#5545B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5545B2
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5545B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5545B2 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#305F75
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5545b2; /* rgb */ color: rgb(85, 69, 178); /* oklch */ color: oklch(47.0% 0.166 284.7);
Tailwind
colors: {
custom: {
50: '#8d79ca',
500: '#5545b2',
950: '#000000',
},
}SCSS
$custom: #5545b2; $custom-light: #8d79ca; $custom-dark: #000000;
JSON
{
"hex": "#5545b2",
"rgb": {
"r": 85,
"g": 69,
"b": 178
},
"hsl": {
"h": 248.807,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.46979,
"c": 0.16596,
"h": 284.7
},
"luminance": 0.09402
}Semantic roles & 50–950 ramp
primary
#5545B2
secondary
#BCC48F
accent
#D454C1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82