#3A56BC#3A56BC
#3A56BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.164 H 268.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3A56BC |
|---|---|
| RGB | rgb(58, 86, 188) |
| HSL | hsl(227, 53%, 48%) |
| HSV | hsv(227, 69%, 74%) |
| CMYK | cmyk(69.1%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(39.89, 24.07, -56.88) |
| CIE-LCH | lch(39.89, 61.77, 292.94°) |
| OKLab | oklab(49.08% -0.0051 -0.1636) |
| OKLCH | oklch(49.08% 0.164 268.2) |
| XYZ | xyz(14.1467, 11.1846, 48.9805) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 5.23
Denim
#1560BD
ΔE00 5.99
Denim Blue
#3B5B92
ΔE00 6.13
Cobalt
#0047AB
ΔE00 6.16
Azul
#1D5DEC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A56BC #BCA03A
analogous
#3A97BC #3A56BC #5F3ABC
triadic
#3A56BC #BC3A56 #56BC3A
tetradic
#3A56BC #BC3A97 #BCA03A #3ABC5F
square
#3A56BC #BC3A97 #BCA03A #3ABC5F
split-complementary
#3A56BC #BC5F3A #97BC3A
monochromatic
#1D2B5E #2C418D #3A56BC #647BCF #93A3DE
Accessibility & contrast
On white
6.49
#3A56BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#3A56BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A56BC
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A56BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A56BC | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a56bc; /* rgb */ color: rgb(58, 86, 188); /* oklch */ color: oklch(49.1% 0.164 268.2);
Tailwind
colors: {
custom: {
50: '#8085d1',
500: '#3a56bc',
950: '#000000',
},
}SCSS
$custom: #3a56bc; $custom-light: #8085d1; $custom-dark: #000000;
JSON
{
"hex": "#3a56bc",
"rgb": {
"r": 58,
"g": 86,
"b": 188
},
"hsl": {
"h": 227.077,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.49077,
"c": 0.16371,
"h": 268.2
},
"luminance": 0.11186
}Semantic roles & 50–950 ramp
primary
#3A56BC
secondary
#C9BB89
accent
#BD4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82