#5B5BDA#5B5BDA
#5B5BDA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.189 H 278.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BDA |
|---|---|
| RGB | rgb(91, 91, 218) |
| HSL | hsl(240, 63%, 61%) |
| HSV | hsv(240, 58%, 85%) |
| CMYK | cmyk(58.3%, 58.3%, 0%, 14.5%) |
| CIE-LAB | lab(45.31, 36.57, -65.30) |
| CIE-LCH | lch(45.31, 74.85, 299.25°) |
| OKLab | oklab(54.34% 0.0265 -0.1875) |
| OKLCH | oklch(54.34% 0.189 278) |
| XYZ | xyz(20.7063, 14.7668, 68.0752) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.34
Warm Blue
#4B57DB
ΔE00 2.37
Slate Blue
#6A5ACD
ΔE00 3.20
Light Indigo
#6D5ACF
ΔE00 3.51
Iris
#6258C4
ΔE00 3.53
Azul
#1D5DEC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BDA #DADA5B
analogous
#5B9ADA #5B5BDA #9A5BDA
triadic
#5B5BDA #DA5B5B #5BDA5B
tetradic
#5B5BDA #DA5B9A #DADA5B #5BDA9A
square
#5B5BDA #DA5B9A #DADA5B #5BDA9A
split-complementary
#5B5BDA #DA9A5B #9ADA5B
monochromatic
#222298 #2E2ECA #5B5BDA #8D8DE5 #BFBFF1
Accessibility & contrast
On white
5.31
#5B5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#5B5BDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BDA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BDA | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5bda; /* rgb */ color: rgb(91, 91, 218); /* oklch */ color: oklch(54.3% 0.189 278.0);
Tailwind
colors: {
custom: {
50: '#9589e6',
500: '#5b5bda',
950: '#000000',
},
}SCSS
$custom: #5b5bda; $custom-light: #9589e6; $custom-dark: #000000;
JSON
{
"hex": "#5b5bda",
"rgb": {
"r": 91,
"g": 91,
"b": 218
},
"hsl": {
"h": 240,
"s": 63.184,
"l": 60.588
},
"oklch": {
"l": 0.54335,
"c": 0.1894,
"h": 278
},
"luminance": 0.14768
}Semantic roles & 50–950 ramp
primary
#5B5BDA
secondary
#E1E1B0
accent
#CB1BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84