#5645C2#5645C2
#5645C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.4% C 0.187 H 283.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5645C2 |
|---|---|
| RGB | rgb(86, 69, 194) |
| HSL | hsl(248, 51%, 52%) |
| HSV | hsv(248, 64%, 76%) |
| CMYK | cmyk(55.7%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(38.07, 41.27, -63.26) |
| CIE-LCH | lch(38.07, 75.53, 303.12°) |
| OKLab | oklab(48.36% 0.0423 -0.1818) |
| OKLCH | oklch(48.36% 0.187 283.1) |
| XYZ | xyz(15.7005, 10.1288, 52.1562) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.26
Blue With A Hint Of Purple
#533CC6
ΔE00 2.34
Bluey Purple
#6241C7
ΔE00 2.35
Blurple
#5539CC
ΔE00 3.15
Iris
#6258C4
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5645C2 #B1C245
analogous
#4573C2 #5645C2 #9545C2
triadic
#5645C2 #C25645 #45C256
tetradic
#5645C2 #C24573 #B1C245 #45C295
square
#5645C2 #C24573 #B1C245 #45C295
split-complementary
#5645C2 #C29545 #73C245
monochromatic
#2C236A #403298 #5645C2 #8073D1 #AAA1E0
Accessibility & contrast
On white
6.94
#5645C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#5645C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5645C2
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5645C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5645C2 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#22647D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5645c2; /* rgb */ color: rgb(86, 69, 194); /* oklch */ color: oklch(48.4% 0.187 283.1);
Tailwind
colors: {
custom: {
50: '#907ad5',
500: '#5645c2',
950: '#000000',
},
}SCSS
$custom: #5645c2; $custom-light: #907ad5; $custom-dark: #000000;
JSON
{
"hex": "#5645c2",
"rgb": {
"r": 86,
"g": 69,
"b": 194
},
"hsl": {
"h": 248.16,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.48357,
"c": 0.18663,
"h": 283.1
},
"luminance": 0.1013
}Semantic roles & 50–950 ramp
primary
#5645C2
secondary
#C5CD96
accent
#DA4EC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83