#5F56BD#5F56BD
#5F56BD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.156 H 283.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5F56BD |
|---|---|
| RGB | rgb(95, 86, 189) |
| HSL | hsl(245, 44%, 54%) |
| HSV | hsv(245, 54%, 74%) |
| CMYK | cmyk(49.7%, 54.5%, 0%, 25.9%) |
| CIE-LAB | lab(42.40, 31.24, -53.29) |
| CIE-LCH | lch(42.40, 61.77, 300.38°) |
| OKLab | oklab(51.61% 0.0363 -0.1521) |
| OKLCH | oklch(51.61% 0.156 283.4) |
| XYZ | xyz(17.2297, 12.7617, 49.6896) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.27
Slate Blue
#6A5ACD
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F56BD #B4BD56
analogous
#5681BD #5F56BD #9356BD
triadic
#5F56BD #BD5F56 #56BD5F
tetradic
#5F56BD #BD5681 #B4BD56 #56BD93
square
#5F56BD #BD5681 #B4BD56 #56BD93
split-complementary
#5F56BD #BD9356 #81BD56
monochromatic
#312B6E #443C9A #5F56BD #8982CE #B2AEDF
Accessibility & contrast
On white
5.91
#5F56BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5F56BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F56BD
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F56BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F56BD | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#1261BB
Tritanopia (blue-blind)
#3C6D81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f56bd; /* rgb */ color: rgb(95, 86, 189); /* oklch */ color: oklch(51.6% 0.156 283.4);
Tailwind
colors: {
custom: {
50: '#9386d1',
500: '#5f56bd',
950: '#000000',
},
}SCSS
$custom: #5f56bd; $custom-light: #9386d1; $custom-dark: #000000;
JSON
{
"hex": "#5f56bd",
"rgb": {
"r": 95,
"g": 86,
"b": 189
},
"hsl": {
"h": 245.243,
"s": 43.83,
"l": 53.922
},
"oklch": {
"l": 0.51613,
"c": 0.15637,
"h": 283.4
},
"luminance": 0.12763
}Semantic roles & 50–950 ramp
primary
#5F56BD
secondary
#CACDA1
accent
#D454C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82