#3B56CC#3B56CC
#3B56CC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.185 H 268.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3B56CC |
|---|---|
| RGB | rgb(59, 86, 204) |
| HSL | hsl(229, 59%, 52%) |
| HSV | hsv(229, 71%, 80%) |
| CMYK | cmyk(71.1%, 57.8%, 0%, 20%) |
| CIE-LAB | lab(41.13, 30.00, -64.17) |
| CIE-LCH | lch(41.13, 70.83, 295.06°) |
| OKLab | oklab(50.39% -0.0035 -0.185) |
| OKLCH | oklch(50.39% 0.185 268.9) |
| XYZ | xyz(16.0268, 11.9434, 58.5757) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.17
Azul
#1D5DEC
ΔE00 4.64
Sapphire
#0F52BA
ΔE00 4.95
Electric Blue
#0652FF
ΔE00 5.86
Iris
#6258C4
ΔE00 5.94
Blue (survey)
#0343DF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B56CC #CCB13B
analogous
#3B9ECC #3B56CC #693BCC
triadic
#3B56CC #CC3B56 #56CC3B
tetradic
#3B56CC #CC3B9E #CCB13B #3BCC69
square
#3B56CC #CC3B9E #CCB13B #3BCC69
split-complementary
#3B56CC #CC693B #9ECC3B
monochromatic
#1D2C70 #2A40A0 #3B56CC #6C80D9 #9CAAE5
Accessibility & contrast
On white
6.20
#3B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#3B56CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B56CC
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B56CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B56CC | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3b56cc; /* rgb */ color: rgb(59, 86, 204); /* oklch */ color: oklch(50.4% 0.185 268.9);
Tailwind
colors: {
custom: {
50: '#8485dc',
500: '#3b56cc',
950: '#000000',
},
}SCSS
$custom: #3b56cc; $custom-light: #8485dc; $custom-dark: #000000;
JSON
{
"hex": "#3b56cc",
"rgb": {
"r": 59,
"g": 86,
"b": 204
},
"hsl": {
"h": 228.828,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.50391,
"c": 0.18506,
"h": 268.9
},
"luminance": 0.11945
}Semantic roles & 50–950 ramp
primary
#3B56CC
secondary
#D1C592
accent
#C546E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83