#3A46B5#3A46B5
#3A46B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.174 H 272.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3A46B5 |
|---|---|
| RGB | rgb(58, 70, 181) |
| HSL | hsl(234, 51%, 47%) |
| HSV | hsv(234, 68%, 71%) |
| CMYK | cmyk(68%, 61.3%, 0%, 29%) |
| CIE-LAB | lab(35.23, 31.89, -60.34) |
| CIE-LCH | lch(35.23, 68.25, 297.86°) |
| OKLab | oklab(45.43% 0.008 -0.174) |
| OKLCH | oklch(45.43% 0.174 272.6) |
| XYZ | xyz(12.2728, 8.6149, 44.7232) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.94
Ocean Blue
#4F42B5
ΔE00 3.64
Sapphire (survey)
#2138AB
ΔE00 4.54
Blueberry
#464196
ΔE00 5.34
Blue (survey)
#0343DF
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A46B5 #B5A93A
analogous
#3A84B5 #3A46B5 #6B3AB5
triadic
#3A46B5 #B53A46 #46B53A
tetradic
#3A46B5 #B53A84 #B5A93A #3AB56B
square
#3A46B5 #B53A84 #B5A93A #3AB56B
split-complementary
#3A46B5 #B56B3A #84B53A
monochromatic
#1C2258 #2B3487 #3A46B5 #606BCC #8E96DB
Accessibility & contrast
On white
7.71
#3A46B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3A46B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A46B5
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A46B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A46B5 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a46b5; /* rgb */ color: rgb(58, 70, 181); /* oklch */ color: oklch(45.4% 0.174 272.6);
Tailwind
colors: {
custom: {
50: '#7f79cc',
500: '#3a46b5',
950: '#000000',
},
}SCSS
$custom: #3a46b5; $custom-light: #7f79cc; $custom-dark: #000000;
JSON
{
"hex": "#3a46b5",
"rgb": {
"r": 58,
"g": 70,
"b": 181
},
"hsl": {
"h": 234.146,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.45433,
"c": 0.17416,
"h": 272.6
},
"luminance": 0.08616
}Semantic roles & 50–950 ramp
primary
#3A46B5
secondary
#C6BF85
accent
#CD4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82