#5B6CD3#5B6CD3
#5B6CD3 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.0% C 0.158 H 273.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5B6CD3 |
|---|---|
| RGB | rgb(91, 108, 211) |
| HSL | hsl(232, 58%, 59%) |
| HSV | hsv(232, 57%, 83%) |
| CMYK | cmyk(56.9%, 48.8%, 0%, 17.3%) |
| CIE-LAB | lab(49.07, 23.85, -55.25) |
| CIE-LCH | lch(49.07, 60.18, 293.35°) |
| OKLab | oklab(57% 0.0091 -0.1578) |
| OKLCH | oklch(57% 0.158 273.3) |
| XYZ | xyz(21.4310, 17.6508, 63.8930) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.52
Royal Blue
#4169E1
ΔE00 3.64
Dark Periwinkle
#665FD1
ΔE00 5.28
Bright Blue
#0165FC
ΔE00 6.77
Cornflower
#6A79F7
ΔE00 6.82
Warm Blue
#4B57DB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B6CD3 #D3C25B
analogous
#5BA8D3 #5B6CD3 #865BD3
triadic
#5B6CD3 #D35B6C #6CD35B
tetradic
#5B6CD3 #D35BA8 #D3C25B #5BD386
square
#5B6CD3 #D35BA8 #D3C25B #5BD386
split-complementary
#5B6CD3 #D3865B #A8D35B
monochromatic
#26358E #3347BE #5B6CD3 #8B97E0 #BCC3ED
Accessibility & contrast
On white
4.64
#5B6CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#5B6CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5B6CD3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B6CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B6CD3 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#397AD7
Deuteranopia (green-blind)
#2670D1
Tritanopia (blue-blind)
#0B8395
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5b6cd3; /* rgb */ color: rgb(91, 108, 211); /* oklch */ color: oklch(57.0% 0.158 273.3);
Tailwind
colors: {
custom: {
50: '#9395e1',
500: '#5b6cd3',
950: '#000000',
},
}SCSS
$custom: #5b6cd3; $custom-light: #9395e1; $custom-dark: #000000;
JSON
{
"hex": "#5b6cd3",
"rgb": {
"r": 91,
"g": 108,
"b": 211
},
"hsl": {
"h": 231.5,
"s": 57.692,
"l": 59.216
},
"oklch": {
"l": 0.56999,
"c": 0.15807,
"h": 273.3
},
"luminance": 0.17652
}Semantic roles & 50–950 ramp
primary
#5B6CD3
secondary
#DCD6AD
accent
#CB47E1
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83