#5A56BB#5A56BB
#5A56BB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.154 H 281.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5A56BB |
|---|---|
| RGB | rgb(90, 86, 187) |
| HSL | hsl(242, 43%, 54%) |
| HSV | hsv(242, 54%, 73%) |
| CMYK | cmyk(51.9%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.87, 29.55, -53.00) |
| CIE-LCH | lch(41.87, 60.68, 299.14°) |
| OKLab | oklab(51.07% 0.03 -0.1514) |
| OKLCH | oklch(51.07% 0.154 281.2) |
| XYZ | xyz(16.5111, 12.4162, 48.5306) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.98
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 4.56
Warm Blue
#4B57DB
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A56BB #B7BB56
analogous
#5684BB #5A56BB #8C56BB
triadic
#5A56BB #BB5A56 #56BB5A
tetradic
#5A56BB #BB5684 #B7BB56 #56BB8C
square
#5A56BB #BB5684 #B7BB56 #56BB8C
split-complementary
#5A56BB #BB8C56 #84BB56
monochromatic
#2E2B6B #403D97 #5A56BB #8582CD #AFADDE
Accessibility & contrast
On white
6.03
#5A56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5A56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A56BB
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A56BB | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#0E5FB9
Tritanopia (blue-blind)
#326D80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5a56bb; /* rgb */ color: rgb(90, 86, 187); /* oklch */ color: oklch(51.1% 0.154 281.2);
Tailwind
colors: {
custom: {
50: '#9085d0',
500: '#5a56bb',
950: '#000000',
},
}SCSS
$custom: #5a56bb; $custom-light: #9085d0; $custom-dark: #000000;
JSON
{
"hex": "#5a56bb",
"rgb": {
"r": 90,
"g": 86,
"b": 187
},
"hsl": {
"h": 242.376,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.51074,
"c": 0.15435,
"h": 281.2
},
"luminance": 0.12417
}Semantic roles & 50–950 ramp
primary
#5A56BB
secondary
#CACCA1
accent
#D255CD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82