#3A47B6#3A47B6
#3A47B6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.174 H 272.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3A47B6 |
|---|---|
| RGB | rgb(58, 71, 182) |
| HSL | hsl(234, 52%, 47%) |
| HSV | hsv(234, 68%, 71%) |
| CMYK | cmyk(68.1%, 61%, 0%, 28.6%) |
| CIE-LAB | lab(35.56, 31.60, -60.39) |
| CIE-LCH | lch(35.56, 68.16, 297.62°) |
| OKLab | oklab(45.7% 0.0072 -0.1741) |
| OKLCH | oklch(45.7% 0.174 272.4) |
| XYZ | xyz(12.4388, 8.7823, 45.2865) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 3.80
Sapphire (survey)
#2138AB
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.33
Blueberry
#464196
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A47B6 #B6A93A
analogous
#3A85B6 #3A47B6 #6B3AB6
triadic
#3A47B6 #B63A47 #47B63A
tetradic
#3A47B6 #B63A85 #B6A93A #3AB66B
square
#3A47B6 #B63A85 #B6A93A #3AB66B
split-complementary
#3A47B6 #B66B3A #85B63A
monochromatic
#1C2359 #2B3588 #3A47B6 #616CCD #8F97DB
Accessibility & contrast
On white
7.62
#3A47B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3A47B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A47B6
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A47B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A47B6 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3a47b6; /* rgb */ color: rgb(58, 71, 182); /* oklch */ color: oklch(45.7% 0.174 272.4);
Tailwind
colors: {
custom: {
50: '#807acd',
500: '#3a47b6',
950: '#000000',
},
}SCSS
$custom: #3a47b6; $custom-light: #807acd; $custom-dark: #000000;
JSON
{
"hex": "#3a47b6",
"rgb": {
"r": 58,
"g": 71,
"b": 182
},
"hsl": {
"h": 233.71,
"s": 51.667,
"l": 47.059
},
"oklch": {
"l": 0.45702,
"c": 0.17428,
"h": 272.4
},
"luminance": 0.08783
}Semantic roles & 50–950 ramp
primary
#3A47B6
secondary
#C6BF86
accent
#CC4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82