#3B56CD#3B56CD
#3B56CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.186 H 268.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3B56CD |
|---|---|
| RGB | rgb(59, 86, 205) |
| HSL | hsl(229, 59%, 52%) |
| HSV | hsv(229, 71%, 80%) |
| CMYK | cmyk(71.2%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(41.20, 30.36, -64.62) |
| CIE-LCH | lch(41.20, 71.40, 295.16°) |
| OKLab | oklab(50.47% -0.0034 -0.1864) |
| OKLCH | oklch(50.47% 0.186 268.9) |
| XYZ | xyz(16.1471, 11.9915, 59.2094) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.06
Azul
#1D5DEC
ΔE00 4.55
Sapphire
#0F52BA
ΔE00 5.04
Electric Blue
#0652FF
ΔE00 5.73
Blue (survey)
#0343DF
ΔE00 5.92
Iris
#6258C4
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B56CD #CDB23B
analogous
#3B9FCD #3B56CD #693BCD
triadic
#3B56CD #CD3B56 #56CD3B
tetradic
#3B56CD #CD3B9F #CDB23B #3BCD69
square
#3B56CD #CD3B9F #CDB23B #3BCD69
split-complementary
#3B56CD #CD693B #9FCD3B
monochromatic
#1D2C71 #293FA2 #3B56CD #6C80D9 #9DAAE6
Accessibility & contrast
On white
6.18
#3B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#3B56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B56CD
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B56CD | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3b56cd; /* rgb */ color: rgb(59, 86, 205); /* oklch */ color: oklch(50.5% 0.186 268.9);
Tailwind
colors: {
custom: {
50: '#8485dd',
500: '#3b56cd',
950: '#000000',
},
}SCSS
$custom: #3b56cd; $custom-light: #8485dd; $custom-dark: #000000;
JSON
{
"hex": "#3b56cd",
"rgb": {
"r": 59,
"g": 86,
"b": 205
},
"hsl": {
"h": 228.904,
"s": 59.35,
"l": 51.765
},
"oklch": {
"l": 0.50472,
"c": 0.18639,
"h": 268.9
},
"luminance": 0.11993
}Semantic roles & 50–950 ramp
primary
#3B56CD
secondary
#D2C692
accent
#C545E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83