#3A46CB#3A46CB
#3A46CB is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.4% C 0.203 H 271.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3A46CB |
|---|---|
| RGB | rgb(58, 70, 203) |
| HSL | hsl(235, 58%, 51%) |
| HSV | hsv(235, 71%, 80%) |
| CMYK | cmyk(71.4%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(37.10, 39.59, -70.17) |
| CIE-LCH | lch(37.10, 80.57, 299.43°) |
| OKLab | oklab(47.38% 0.0068 -0.2028) |
| OKLCH | oklch(47.38% 0.203 271.9) |
| XYZ | xyz(14.7109, 9.5902, 57.5641) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.35
Blue (survey)
#0343DF
ΔE00 3.06
Ocean Blue
#4F42B5
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 4.44
Blurple
#5539CC
ΔE00 5.05
Vibrant Blue
#0339F8
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A46CB #CBBF3A
analogous
#3A8FCB #3A46CB #763ACB
triadic
#3A46CB #CB3A46 #46CB3A
tetradic
#3A46CB #CB3A8F #CBBF3A #3ACB76
square
#3A46CB #CB3A8F #CBBF3A #3ACB76
split-complementary
#3A46CB #CB763A #8FCB3A
monochromatic
#1D246E #2A339E #3A46CB #6A73D8 #9BA1E5
Accessibility & contrast
On white
7.20
#3A46CB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#3A46CB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A46CB
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A46CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A46CB | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3a46cb; /* rgb */ color: rgb(58, 70, 203); /* oklch */ color: oklch(47.4% 0.203 271.9);
Tailwind
colors: {
custom: {
50: '#847adc',
500: '#3a46cb',
950: '#000000',
},
}SCSS
$custom: #3a46cb; $custom-light: #847adc; $custom-dark: #000000;
JSON
{
"hex": "#3a46cb",
"rgb": {
"r": 58,
"g": 70,
"b": 203
},
"hsl": {
"h": 235.034,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.47377,
"c": 0.20292,
"h": 271.9
},
"luminance": 0.09592
}Semantic roles & 50–950 ramp
primary
#3A46CB
secondary
#D0CB90
accent
#D546E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83