#5645BB#5645BB
#5645BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.178 H 284.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5645BB |
|---|---|
| RGB | rgb(86, 69, 187) |
| HSL | hsl(249, 46%, 50%) |
| HSV | hsv(249, 63%, 73%) |
| CMYK | cmyk(54%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(37.52, 39.11, -60.06) |
| CIE-LCH | lch(37.52, 71.67, 303.07°) |
| OKLab | oklab(47.78% 0.0429 -0.1724) |
| OKLCH | oklch(47.78% 0.178 284) |
| XYZ | xyz(14.9328, 9.8217, 48.1130) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.55
Blue With A Hint Of Purple
#533CC6
ΔE00 2.74
Bluey Purple
#6241C7
ΔE00 2.82
Blurple
#5539CC
ΔE00 3.68
Iris
#6258C4
ΔE00 5.80
Blue Blue
#2242C7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5645BB #AABB45
analogous
#456FBB #5645BB #9145BB
triadic
#5645BB #BB5645 #45BB56
tetradic
#5645BB #BB456F #AABB45 #45BB91
square
#5645BB #BB456F #AABB45 #45BB91
split-complementary
#5645BB #BB9145 #6FBB45
monochromatic
#2D2462 #41348F #5645BB #7F72CB #A79FDC
Accessibility & contrast
On white
7.08
#5645BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5645BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5645BB
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5645BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5645BB | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#2A6279
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5645bb; /* rgb */ color: rgb(86, 69, 187); /* oklch */ color: oklch(47.8% 0.178 284.0);
Tailwind
colors: {
custom: {
50: '#8f7ad0',
500: '#5645bb',
950: '#000000',
},
}SCSS
$custom: #5645bb; $custom-light: #8f7ad0; $custom-dark: #000000;
JSON
{
"hex": "#5645bb",
"rgb": {
"r": 86,
"g": 69,
"b": 187
},
"hsl": {
"h": 248.644,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.47783,
"c": 0.17763,
"h": 284
},
"luminance": 0.09823
}Semantic roles & 50–950 ramp
primary
#5645BB
secondary
#C1C894
accent
#D652C3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82