#5F56BB#5F56BB
#5F56BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.154 H 283.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F56BB |
|---|---|
| RGB | rgb(95, 86, 187) |
| HSL | hsl(245, 43%, 54%) |
| HSV | hsv(245, 54%, 73%) |
| CMYK | cmyk(49.2%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(42.27, 30.63, -52.33) |
| CIE-LCH | lch(42.27, 60.64, 300.34°) |
| OKLab | oklab(51.47% 0.0362 -0.1493) |
| OKLCH | oklch(51.47% 0.154 283.6) |
| XYZ | xyz(17.0141, 12.6755, 48.5542) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.53
Slate Blue
#6A5ACD
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 5.40
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F56BB #B2BB56
analogous
#567FBB #5F56BB #9156BB
triadic
#5F56BB #BB5F56 #56BB5F
tetradic
#5F56BB #BB567F #B2BB56 #56BB91
square
#5F56BB #BB567F #B2BB56 #56BB91
split-complementary
#5F56BB #BB9156 #7FBB56
monochromatic
#312B6B #453D97 #5F56BB #8882CD #B2ADDE
Accessibility & contrast
On white
5.94
#5F56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5F56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F56BB
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F56BB | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#1760B9
Tritanopia (blue-blind)
#3E6C80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f56bb; /* rgb */ color: rgb(95, 86, 187); /* oklch */ color: oklch(51.5% 0.154 283.6);
Tailwind
colors: {
custom: {
50: '#9386d0',
500: '#5f56bb',
950: '#000000',
},
}SCSS
$custom: #5f56bb; $custom-light: #9386d0; $custom-dark: #000000;
JSON
{
"hex": "#5f56bb",
"rgb": {
"r": 95,
"g": 86,
"b": 187
},
"hsl": {
"h": 245.347,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.51472,
"c": 0.15363,
"h": 283.6
},
"luminance": 0.12676
}Semantic roles & 50–950 ramp
primary
#5F56BB
secondary
#C8CCA1
accent
#D255C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82