#5849AF#5849AF
#5849AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.156 H 285.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5849AF |
|---|---|
| RGB | rgb(88, 73, 175) |
| HSL | hsl(249, 41%, 49%) |
| HSV | hsv(249, 58%, 69%) |
| CMYK | cmyk(49.7%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(37.72, 33.38, -52.64) |
| CIE-LCH | lch(37.72, 62.33, 302.38°) |
| OKLab | oklab(47.69% 0.0419 -0.1505) |
| OKLCH | oklch(47.69% 0.156 285.6) |
| XYZ | xyz(14.1426, 9.9343, 41.7214) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.59
Bluey Purple
#6241C7
ΔE00 4.51
Blue With A Hint Of Purple
#533CC6
ΔE00 4.85
Blueberry
#464196
ΔE00 5.02
Iris
#6258C4
ΔE00 5.45
Blurple
#5539CC
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5849AF #A0AF49
analogous
#496DAF #5849AF #8B49AF
triadic
#5849AF #AF5849 #49AF58
tetradic
#5849AF #AF496D #A0AF49 #49AF8B
square
#5849AF #AF496D #A0AF49 #49AF8B
split-complementary
#5849AF #AF8B49 #6DAF49
monochromatic
#2D2559 #423784 #5849AF #7D71C4 #A59CD6
Accessibility & contrast
On white
7.03
#5849AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5849AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5849AF
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5849AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5849AF | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#396075
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5849af; /* rgb */ color: rgb(88, 73, 175); /* oklch */ color: oklch(47.7% 0.156 285.6);
Tailwind
colors: {
custom: {
50: '#8e7cc8',
500: '#5849af',
950: '#000000',
},
}SCSS
$custom: #5849af; $custom-light: #8e7cc8; $custom-dark: #000000;
JSON
{
"hex": "#5849af",
"rgb": {
"r": 88,
"g": 73,
"b": 175
},
"hsl": {
"h": 248.824,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.47694,
"c": 0.1562,
"h": 285.6
},
"luminance": 0.09935
}Semantic roles & 50–950 ramp
primary
#5849AF
secondary
#BBC291
accent
#D157BF
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82