#3A56BA#3A56BA
#3A56BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.161 H 268.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3A56BA |
|---|---|
| RGB | rgb(58, 86, 186) |
| HSL | hsl(227, 52%, 48%) |
| HSV | hsv(227, 69%, 73%) |
| CMYK | cmyk(68.8%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.75, 23.35, -55.94) |
| CIE-LCH | lch(39.75, 60.62, 292.65°) |
| OKLab | oklab(48.92% -0.0052 -0.1609) |
| OKLCH | oklch(48.92% 0.161 268.1) |
| XYZ | xyz(13.9326, 11.0989, 47.8529) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 5.49
Denim Blue
#3B5B92
ΔE00 5.89
Denim
#1560BD
ΔE00 5.93
Cobalt
#0047AB
ΔE00 6.04
Dusky Blue
#475F94
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A56BA #BA9E3A
analogous
#3A96BA #3A56BA #5E3ABA
triadic
#3A56BA #BA3A56 #56BA3A
tetradic
#3A56BA #BA3A96 #BA9E3A #3ABA5E
square
#3A56BA #BA3A96 #BA9E3A #3ABA5E
split-complementary
#3A56BA #BA5E3A #96BA3A
monochromatic
#1D2B5D #2B408B #3A56BA #637ACE #92A2DD
Accessibility & contrast
On white
6.52
#3A56BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3A56BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A56BA
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A56BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A56BA | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a56ba; /* rgb */ color: rgb(58, 86, 186); /* oklch */ color: oklch(48.9% 0.161 268.1);
Tailwind
colors: {
custom: {
50: '#7f85cf',
500: '#3a56ba',
950: '#000000',
},
}SCSS
$custom: #3a56ba; $custom-light: #7f85cf; $custom-dark: #000000;
JSON
{
"hex": "#3a56ba",
"rgb": {
"r": 58,
"g": 86,
"b": 186
},
"hsl": {
"h": 226.875,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.48923,
"c": 0.16096,
"h": 268.1
},
"luminance": 0.111
}Semantic roles & 50–950 ramp
primary
#3A56BA
secondary
#C8BA88
accent
#BC4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82