#5652AF#5652AF
#5652AF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.144 H 281.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5652AF |
|---|---|
| RGB | rgb(86, 82, 175) |
| HSL | hsl(243, 37%, 50%) |
| HSV | hsv(243, 53%, 69%) |
| CMYK | cmyk(50.9%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(39.76, 27.37, -49.36) |
| CIE-LCH | lch(39.76, 56.44, 299.01°) |
| OKLab | oklab(49.17% 0.029 -0.1408) |
| OKLCH | oklch(49.17% 0.144 281.6) |
| XYZ | xyz(14.5906, 11.1074, 41.9242) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 4.98
Slate Blue
#6A5ACD
ΔE00 5.94
Blueberry
#464196
ΔE00 6.24
Light Indigo
#6D5ACF
ΔE00 6.47
Twilight
#4E518B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652AF #ABAF52
analogous
#527CAF #5652AF #8552AF
triadic
#5652AF #AF5652 #52AF56
tetradic
#5652AF #AF527C #ABAF52 #52AF85
square
#5652AF #AF527C #ABAF52 #52AF85
split-complementary
#5652AF #AF8552 #7CAF52
monochromatic
#2D2B5C #413E86 #5652AF #7F7CC2 #A8A6D6
Accessibility & contrast
On white
6.52
#5652AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#5652AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652AF
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652AF | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#185AAD
Tritanopia (blue-blind)
#346778
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5652af; /* rgb */ color: rgb(86, 82, 175); /* oklch */ color: oklch(49.2% 0.144 281.6);
Tailwind
colors: {
custom: {
50: '#8c82c7',
500: '#5652af',
950: '#000000',
},
}SCSS
$custom: #5652af; $custom-light: #8c82c7; $custom-dark: #000000;
JSON
{
"hex": "#5652af",
"rgb": {
"r": 86,
"g": 82,
"b": 175
},
"hsl": {
"h": 242.581,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.49165,
"c": 0.14381,
"h": 281.6
},
"luminance": 0.11108
}Semantic roles & 50–950 ramp
primary
#5652AF
secondary
#C1C39A
accent
#CD5BC8
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82