#5B5CDA#5B5CDA
#5B5CDA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.188 H 277.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CDA |
|---|---|
| RGB | rgb(91, 92, 218) |
| HSL | hsl(240, 63%, 61%) |
| HSV | hsv(240, 58%, 85%) |
| CMYK | cmyk(58.3%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.55, 35.97, -64.92) |
| CIE-LCH | lch(45.55, 74.22, 298.99°) |
| OKLab | oklab(54.51% 0.0256 -0.1864) |
| OKLCH | oklch(54.51% 0.188 277.8) |
| XYZ | xyz(20.7924, 14.9389, 68.1039) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.25
Warm Blue
#4B57DB
ΔE00 2.50
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.61
Iris
#6258C4
ΔE00 3.65
Azul
#1D5DEC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CDA #DAD95B
analogous
#5B9BDA #5B5CDA #9A5BDA
triadic
#5B5CDA #DA5B5C #5CDA5B
tetradic
#5B5CDA #DA5B9B #DAD95B #5BDA9A
square
#5B5CDA #DA5B9B #DAD95B #5BDA9A
split-complementary
#5B5CDA #DA9A5B #9BDA5B
monochromatic
#222398 #2E2FCA #5B5CDA #8D8EE5 #BFBFF1
Accessibility & contrast
On white
5.27
#5B5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#5B5CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CDA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CDA | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b5cda; /* rgb */ color: rgb(91, 92, 218); /* oklch */ color: oklch(54.5% 0.188 277.8);
Tailwind
colors: {
custom: {
50: '#958ae6',
500: '#5b5cda',
950: '#000000',
},
}SCSS
$custom: #5b5cda; $custom-light: #958ae6; $custom-dark: #000000;
JSON
{
"hex": "#5b5cda",
"rgb": {
"r": 91,
"g": 92,
"b": 218
},
"hsl": {
"h": 239.528,
"s": 63.184,
"l": 60.588
},
"oklch": {
"l": 0.5451,
"c": 0.18814,
"h": 277.8
},
"luminance": 0.1494
}Semantic roles & 50–950 ramp
primary
#5B5CDA
secondary
#E1E0B0
accent
#CA1BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84