#3A46B2#3A46B2
#3A46B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.170 H 272.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3A46B2 |
|---|---|
| RGB | rgb(58, 70, 178) |
| HSL | hsl(234, 51%, 46%) |
| HSV | hsv(234, 67%, 70%) |
| CMYK | cmyk(67.4%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.99, 30.83, -58.96) |
| CIE-LCH | lch(34.99, 66.53, 297.61°) |
| OKLab | oklab(45.18% 0.0081 -0.1699) |
| OKLCH | oklch(45.18% 0.17 272.7) |
| XYZ | xyz(11.9683, 8.4931, 43.1195) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.27
Ocean Blue
#4F42B5
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A46B2 #B2A63A
analogous
#3A82B2 #3A46B2 #6A3AB2
triadic
#3A46B2 #B23A46 #46B23A
tetradic
#3A46B2 #B23A82 #B2A63A #3AB26A
square
#3A46B2 #B23A82 #B2A63A #3AB26A
split-complementary
#3A46B2 #B26A3A #82B23A
monochromatic
#1C2256 #2B3484 #3A46B2 #5F69CB #8D94DA
Accessibility & contrast
On white
7.78
#3A46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3A46B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A46B2
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A46B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A46B2 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3a46b2; /* rgb */ color: rgb(58, 70, 178); /* oklch */ color: oklch(45.2% 0.170 272.7);
Tailwind
colors: {
custom: {
50: '#7f79ca',
500: '#3a46b2',
950: '#000000',
},
}SCSS
$custom: #3a46b2; $custom-light: #7f79ca; $custom-dark: #000000;
JSON
{
"hex": "#3a46b2",
"rgb": {
"r": 58,
"g": 70,
"b": 178
},
"hsl": {
"h": 234,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.45178,
"c": 0.17012,
"h": 272.7
},
"luminance": 0.08494
}Semantic roles & 50–950 ramp
primary
#3A46B2
secondary
#C4BE83
accent
#CC4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82