#3A56BF#3A56BF
#3A56BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.168 H 268.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3A56BF |
|---|---|
| RGB | rgb(58, 86, 191) |
| HSL | hsl(227, 53%, 49%) |
| HSV | hsv(227, 70%, 75%) |
| CMYK | cmyk(69.6%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(40.11, 25.16, -58.28) |
| CIE-LCH | lch(40.11, 63.48, 293.35°) |
| OKLab | oklab(49.31% -0.0049 -0.1677) |
| OKLCH | oklch(49.31% 0.168 268.3) |
| XYZ | xyz(14.4734, 11.3153, 50.7014) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.84
Azul
#1D5DEC
ΔE00 5.95
Denim
#1560BD
ΔE00 6.10
Blue Blue
#2242C7
ΔE00 6.22
Cobalt
#0047AB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A56BF #BFA33A
analogous
#3A99BF #3A56BF #603ABF
triadic
#3A56BF #BF3A56 #56BF3A
tetradic
#3A56BF #BF3A99 #BFA33A #3ABF60
square
#3A56BF #BF3A99 #BFA33A #3ABF60
split-complementary
#3A56BF #BF603A #99BF3A
monochromatic
#1D2C61 #2C4190 #3A56BF #667CD0 #95A4DF
Accessibility & contrast
On white
6.44
#3A56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3A56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A56BF
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A56BF | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a56bf; /* rgb */ color: rgb(58, 86, 191); /* oklch */ color: oklch(49.3% 0.168 268.3);
Tailwind
colors: {
custom: {
50: '#8085d3',
500: '#3a56bf',
950: '#000000',
},
}SCSS
$custom: #3a56bf; $custom-light: #8085d3; $custom-dark: #000000;
JSON
{
"hex": "#3a56bf",
"rgb": {
"r": 58,
"g": 86,
"b": 191
},
"hsl": {
"h": 227.368,
"s": 53.414,
"l": 48.824
},
"oklch": {
"l": 0.49308,
"c": 0.16782,
"h": 268.3
},
"luminance": 0.11317
}Semantic roles & 50–950 ramp
primary
#3A56BF
secondary
#CABD8B
accent
#BE4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83