#5355BA#5355BA
#5355BA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.156 H 278.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5355BA |
|---|---|
| RGB | rgb(83, 85, 186) |
| HSL | hsl(239, 43%, 53%) |
| HSV | hsv(239, 55%, 73%) |
| CMYK | cmyk(55.4%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(41.02, 28.40, -53.80) |
| CIE-LCH | lch(41.02, 60.84, 297.83°) |
| OKLab | oklab(50.29% 0.0226 -0.154) |
| OKLCH | oklch(50.29% 0.156 278.4) |
| XYZ | xyz(15.6759, 11.8801, 47.9119) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.07
Warm Blue
#4B57DB
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 5.01
Dark Periwinkle
#665FD1
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5355BA #BAB853
analogous
#5388BA #5355BA #8453BA
triadic
#5355BA #BA5355 #55BA53
tetradic
#5355BA #BA5388 #BAB853 #53BA84
square
#5355BA #BA5388 #BAB853 #53BA84
split-complementary
#5355BA #BA8453 #88BA53
monochromatic
#2A2B69 #3B3D94 #5355BA #7F80CC #AAABDD
Accessibility & contrast
On white
6.22
#5355BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5355BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5355BA
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5355BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5355BA | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#1F6C7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5355ba; /* rgb */ color: rgb(83, 85, 186); /* oklch */ color: oklch(50.3% 0.156 278.4);
Tailwind
colors: {
custom: {
50: '#8c85cf',
500: '#5355ba',
950: '#000000',
},
}SCSS
$custom: #5355ba; $custom-light: #8c85cf; $custom-dark: #000000;
JSON
{
"hex": "#5355ba",
"rgb": {
"r": 83,
"g": 85,
"b": 186
},
"hsl": {
"h": 238.835,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.50288,
"c": 0.15562,
"h": 278.4
},
"luminance": 0.11881
}Semantic roles & 50–950 ramp
primary
#5355BA
secondary
#CBCA9E
accent
#D055D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82