#5852BF#5852BF
#5852BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.166 H 281.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5852BF |
|---|---|
| RGB | rgb(88, 82, 191) |
| HSL | hsl(243, 46%, 54%) |
| HSV | hsv(243, 57%, 75%) |
| CMYK | cmyk(53.9%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.01, 32.87, -56.73) |
| CIE-LCH | lch(41.01, 65.57, 300.09°) |
| OKLab | oklab(50.48% 0.032 -0.1625) |
| OKLCH | oklch(50.48% 0.166 281.1) |
| XYZ | xyz(16.4429, 11.8699, 50.7048) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.43
Slate Blue
#6A5ACD
ΔE00 4.22
Warm Blue
#4B57DB
ΔE00 4.56
Light Indigo
#6D5ACF
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5852BF #B9BF52
analogous
#5282BF #5852BF #8E52BF
triadic
#5852BF #BF5852 #52BF58
tetradic
#5852BF #BF5282 #B9BF52 #52BF8E
square
#5852BF #BF5282 #B9BF52 #52BF8E
split-complementary
#5852BF #BF8E52 #82BF52
monochromatic
#2C296E #3F399B #5852BF #837FD0 #AEABE0
Accessibility & contrast
On white
6.22
#5852BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5852BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5852BF
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5852BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5852BF | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#2A6B80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5852bf; /* rgb */ color: rgb(88, 82, 191); /* oklch */ color: oklch(50.5% 0.166 281.1);
Tailwind
colors: {
custom: {
50: '#8f83d3',
500: '#5852bf',
950: '#000000',
},
}SCSS
$custom: #5852bf; $custom-light: #8f83d3; $custom-dark: #000000;
JSON
{
"hex": "#5852bf",
"rgb": {
"r": 88,
"g": 82,
"b": 191
},
"hsl": {
"h": 243.303,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50481,
"c": 0.16559,
"h": 281.1
},
"luminance": 0.11871
}Semantic roles & 50–950 ramp
primary
#5852BF
secondary
#CBCE9F
accent
#D652CE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83