#5852BB#5852BB
#5852BB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.160 H 281.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5852BB |
|---|---|
| RGB | rgb(88, 82, 187) |
| HSL | hsl(243, 44%, 53%) |
| HSV | hsv(243, 56%, 73%) |
| CMYK | cmyk(52.9%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.73, 31.61, -54.85) |
| CIE-LCH | lch(40.73, 63.30, 299.95°) |
| OKLab | oklab(50.19% 0.032 -0.1569) |
| OKLCH | oklch(50.19% 0.16 281.5) |
| XYZ | xyz(16.0087, 11.6962, 48.4181) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 5.06
Warm Blue
#4B57DB
ΔE00 5.07
Dark Periwinkle
#665FD1
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5852BB #B5BB52
analogous
#5280BB #5852BB #8D52BB
triadic
#5852BB #BB5852 #52BB58
tetradic
#5852BB #BB5280 #B5BB52 #52BB8D
square
#5852BB #BB5280 #B5BB52 #52BB8D
split-complementary
#5852BB #BB8D52 #80BB52
monochromatic
#2D2969 #403B95 #5852BB #827ECC #ADAADE
Accessibility & contrast
On white
6.29
#5852BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#5852BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5852BB
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5852BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5852BB | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#2E6A7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5852bb; /* rgb */ color: rgb(88, 82, 187); /* oklch */ color: oklch(50.2% 0.160 281.5);
Tailwind
colors: {
custom: {
50: '#8f83d0',
500: '#5852bb',
950: '#000000',
},
}SCSS
$custom: #5852bb; $custom-light: #8f83d0; $custom-dark: #000000;
JSON
{
"hex": "#5852bb",
"rgb": {
"r": 88,
"g": 82,
"b": 187
},
"hsl": {
"h": 243.429,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50185,
"c": 0.16015,
"h": 281.5
},
"luminance": 0.11697
}Semantic roles & 50–950 ramp
primary
#5852BB
secondary
#C9CB9E
accent
#D354CC
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82