#3A56C5#3A56C5
#3A56C5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.176 H 268.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3A56C5 |
|---|---|
| RGB | rgb(58, 86, 197) |
| HSL | hsl(228, 55%, 50%) |
| HSV | hsv(228, 71%, 77%) |
| CMYK | cmyk(70.6%, 56.3%, 0%, 22.7%) |
| CIE-LAB | lab(40.55, 27.34, -61.06) |
| CIE-LCH | lch(40.55, 66.90, 294.12°) |
| OKLab | oklab(49.78% -0.0046 -0.1759) |
| OKLCH | oklch(49.78% 0.176 268.5) |
| XYZ | xyz(15.1473, 11.5848, 54.2503) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.22
Azul
#1D5DEC
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 6.09
Iris
#6258C4
ΔE00 6.26
Blue (survey)
#0343DF
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A56C5 #C5A93A
analogous
#3A9BC5 #3A56C5 #643AC5
triadic
#3A56C5 #C53A56 #56C53A
tetradic
#3A56C5 #C53A9B #C5A93A #3AC564
square
#3A56C5 #C53A9B #C5A93A #3AC564
split-complementary
#3A56C5 #C5643A #9BC53A
monochromatic
#1E2D66 #2C4196 #3A56C5 #697FD3 #99A7E1
Accessibility & contrast
On white
6.33
#3A56C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#3A56C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A56C5
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A56C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A56C5 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a56c5; /* rgb */ color: rgb(58, 86, 197); /* oklch */ color: oklch(49.8% 0.176 268.5);
Tailwind
colors: {
custom: {
50: '#8285d7',
500: '#3a56c5',
950: '#000000',
},
}SCSS
$custom: #3a56c5; $custom-light: #8285d7; $custom-dark: #000000;
JSON
{
"hex": "#3a56c5",
"rgb": {
"r": 58,
"g": 86,
"b": 197
},
"hsl": {
"h": 227.914,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.4978,
"c": 0.17597,
"h": 268.5
},
"luminance": 0.11586
}Semantic roles & 50–950 ramp
primary
#3A56C5
secondary
#CDC08E
accent
#C04ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83