#5645BC#5645BC
#5645BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.179 H 283.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5645BC |
|---|---|
| RGB | rgb(86, 69, 188) |
| HSL | hsl(249, 47%, 50%) |
| HSV | hsv(249, 63%, 74%) |
| CMYK | cmyk(54.3%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(37.60, 39.41, -60.52) |
| CIE-LCH | lch(37.60, 72.22, 303.08°) |
| OKLab | oklab(47.86% 0.0428 -0.1737) |
| OKLCH | oklch(47.86% 0.179 283.8) |
| XYZ | xyz(15.0402, 9.8647, 48.6788) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.63
Blue With A Hint Of Purple
#533CC6
ΔE00 2.66
Bluey Purple
#6241C7
ΔE00 2.73
Blurple
#5539CC
ΔE00 3.59
Iris
#6258C4
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5645BC #ABBC45
analogous
#4570BC #5645BC #9145BC
triadic
#5645BC #BC5645 #45BC56
tetradic
#5645BC #BC4570 #ABBC45 #45BC91
square
#5645BC #BC4570 #ABBC45 #45BC91
split-complementary
#5645BC #BC9145 #70BC45
monochromatic
#2D2463 #413490 #5645BC #7F72CC #A89FDC
Accessibility & contrast
On white
7.06
#5645BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#5645BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5645BC
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5645BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5645BC | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#29627A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5645bc; /* rgb */ color: rgb(86, 69, 188); /* oklch */ color: oklch(47.9% 0.179 283.8);
Tailwind
colors: {
custom: {
50: '#8f7ad1',
500: '#5645bc',
950: '#000000',
},
}SCSS
$custom: #5645bc; $custom-light: #8f7ad1; $custom-dark: #000000;
JSON
{
"hex": "#5645bc",
"rgb": {
"r": 86,
"g": 69,
"b": 188
},
"hsl": {
"h": 248.571,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.47864,
"c": 0.17893,
"h": 283.8
},
"luminance": 0.09866
}Semantic roles & 50–950 ramp
primary
#5645BC
secondary
#C1C994
accent
#D751C4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82