#5B56BB#5B56BB
#5B56BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.154 H 281.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56BB |
|---|---|
| RGB | rgb(91, 86, 187) |
| HSL | hsl(243, 43%, 54%) |
| HSV | hsv(243, 54%, 73%) |
| CMYK | cmyk(51.3%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.95, 29.76, -52.87) |
| CIE-LCH | lch(41.95, 60.67, 299.38°) |
| OKLab | oklab(51.15% 0.0312 -0.151) |
| OKLCH | oklch(51.15% 0.154 281.7) |
| XYZ | xyz(16.6091, 12.4667, 48.5352) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.86
Slate Blue
#6A5ACD
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56BB #B6BB56
analogous
#5683BB #5B56BB #8D56BB
triadic
#5B56BB #BB5B56 #56BB5B
tetradic
#5B56BB #BB5683 #B6BB56 #56BB8D
square
#5B56BB #BB5683 #B6BB56 #56BB8D
split-complementary
#5B56BB #BB8D56 #83BB56
monochromatic
#2E2B6B #413D97 #5B56BB #8582CD #B0ADDE
Accessibility & contrast
On white
6.01
#5B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5B56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56BB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56BB | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#105FB9
Tritanopia (blue-blind)
#356D80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b56bb; /* rgb */ color: rgb(91, 86, 187); /* oklch */ color: oklch(51.2% 0.154 281.7);
Tailwind
colors: {
custom: {
50: '#9085d0',
500: '#5b56bb',
950: '#000000',
},
}SCSS
$custom: #5b56bb; $custom-light: #9085d0; $custom-dark: #000000;
JSON
{
"hex": "#5b56bb",
"rgb": {
"r": 91,
"g": 86,
"b": 187
},
"hsl": {
"h": 242.97,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.51152,
"c": 0.15419,
"h": 281.7
},
"luminance": 0.12468
}Semantic roles & 50–950 ramp
primary
#5B56BB
secondary
#CACCA1
accent
#D255CC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82