#5F56BC#5F56BC
#5F56BC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.155 H 283.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5F56BC |
|---|---|
| RGB | rgb(95, 86, 188) |
| HSL | hsl(245, 43%, 54%) |
| HSV | hsv(245, 54%, 74%) |
| CMYK | cmyk(49.5%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(42.34, 30.93, -52.81) |
| CIE-LCH | lch(42.34, 61.20, 300.36°) |
| OKLab | oklab(51.54% 0.0362 -0.1507) |
| OKLCH | oklch(51.54% 0.155 283.5) |
| XYZ | xyz(17.1215, 12.7184, 49.1199) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.40
Slate Blue
#6A5ACD
ΔE00 3.31
Light Indigo
#6D5ACF
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 5.27
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F56BC #B3BC56
analogous
#5680BC #5F56BC #9256BC
triadic
#5F56BC #BC5F56 #56BC5F
tetradic
#5F56BC #BC5680 #B3BC56 #56BC92
square
#5F56BC #BC5680 #B3BC56 #56BC92
split-complementary
#5F56BC #BC9256 #80BC56
monochromatic
#312B6D #453C98 #5F56BC #8882CD #B2AEDF
Accessibility & contrast
On white
5.93
#5F56BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5F56BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F56BC
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F56BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F56BC | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#1561BA
Tritanopia (blue-blind)
#3D6D81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f56bc; /* rgb */ color: rgb(95, 86, 188); /* oklch */ color: oklch(51.5% 0.155 283.5);
Tailwind
colors: {
custom: {
50: '#9386d1',
500: '#5f56bc',
950: '#000000',
},
}SCSS
$custom: #5f56bc; $custom-light: #9386d1; $custom-dark: #000000;
JSON
{
"hex": "#5f56bc",
"rgb": {
"r": 95,
"g": 86,
"b": 188
},
"hsl": {
"h": 245.294,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.51542,
"c": 0.155,
"h": 283.5
},
"luminance": 0.12719
}Semantic roles & 50–950 ramp
primary
#5F56BC
secondary
#C9CDA1
accent
#D355C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82