#3A46B6#3A46B6
#3A46B6 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.175 H 272.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3A46B6 |
|---|---|
| RGB | rgb(58, 70, 182) |
| HSL | hsl(234, 52%, 47%) |
| HSV | hsv(234, 68%, 71%) |
| CMYK | cmyk(68.1%, 61.5%, 0%, 28.6%) |
| CIE-LAB | lab(35.31, 32.24, -60.80) |
| CIE-LCH | lch(35.31, 68.82, 297.94°) |
| OKLab | oklab(45.52% 0.008 -0.1753) |
| OKLCH | oklch(45.52% 0.176 272.6) |
| XYZ | xyz(12.3757, 8.6561, 45.2655) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.84
Ocean Blue
#4F42B5
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 5.26
Blueberry
#464196
ΔE00 5.45
Cobalt
#0047AB
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A46B6 #B6AA3A
analogous
#3A84B6 #3A46B6 #6C3AB6
triadic
#3A46B6 #B63A46 #46B63A
tetradic
#3A46B6 #B63A84 #B6AA3A #3AB66C
square
#3A46B6 #B63A84 #B6AA3A #3AB66C
split-complementary
#3A46B6 #B66C3A #84B63A
monochromatic
#1C2259 #2B3488 #3A46B6 #616BCD #8F96DB
Accessibility & contrast
On white
7.69
#3A46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3A46B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A46B6
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A46B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A46B6 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a46b6; /* rgb */ color: rgb(58, 70, 182); /* oklch */ color: oklch(45.5% 0.175 272.6);
Tailwind
colors: {
custom: {
50: '#8079cd',
500: '#3a46b6',
950: '#000000',
},
}SCSS
$custom: #3a46b6; $custom-light: #8079cd; $custom-dark: #000000;
JSON
{
"hex": "#3a46b6",
"rgb": {
"r": 58,
"g": 70,
"b": 182
},
"hsl": {
"h": 234.194,
"s": 51.667,
"l": 47.059
},
"oklch": {
"l": 0.45518,
"c": 0.1755,
"h": 272.6
},
"luminance": 0.08657
}Semantic roles & 50–950 ramp
primary
#3A46B6
secondary
#C6C086
accent
#CD4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82