#5852BA#5852BA
#5852BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.159 H 281.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5852BA |
|---|---|
| RGB | rgb(88, 82, 186) |
| HSL | hsl(243, 43%, 53%) |
| HSV | hsv(243, 56%, 73%) |
| CMYK | cmyk(52.7%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(40.66, 31.29, -54.37) |
| CIE-LCH | lch(40.66, 62.73, 299.92°) |
| OKLab | oklab(50.11% 0.032 -0.1555) |
| OKLCH | oklch(50.11% 0.159 281.6) |
| XYZ | xyz(15.9020, 11.6535, 47.8563) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5852BA #B4BA52
analogous
#5280BA #5852BA #8C52BA
triadic
#5852BA #BA5852 #52BA58
tetradic
#5852BA #BA5280 #B4BA52 #52BA8C
square
#5852BA #BA5280 #B4BA52 #52BA8C
split-complementary
#5852BA #BA8C52 #80BA52
monochromatic
#2D2A68 #403B94 #5852BA #827ECB #ACAADD
Accessibility & contrast
On white
6.30
#5852BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#5852BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5852BA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5852BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5852BA | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#2F6A7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5852ba; /* rgb */ color: rgb(88, 82, 186); /* oklch */ color: oklch(50.1% 0.159 281.6);
Tailwind
colors: {
custom: {
50: '#8f83cf',
500: '#5852ba',
950: '#000000',
},
}SCSS
$custom: #5852ba; $custom-light: #8f83cf; $custom-dark: #000000;
JSON
{
"hex": "#5852ba",
"rgb": {
"r": 88,
"g": 82,
"b": 186
},
"hsl": {
"h": 243.462,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.50112,
"c": 0.15878,
"h": 281.6
},
"luminance": 0.11654
}Semantic roles & 50–950 ramp
primary
#5852BA
secondary
#C8CA9D
accent
#D355CB
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82