#3A4AA6#3A4AA6
#3A4AA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.148 H 271.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AA6 |
|---|---|
| RGB | rgb(58, 74, 166) |
| HSL | hsl(231, 48%, 44%) |
| HSV | hsv(231, 65%, 65%) |
| CMYK | cmyk(65.1%, 55.4%, 0%, 34.9%) |
| CIE-LAB | lab(35.10, 23.94, -51.63) |
| CIE-LCH | lch(35.10, 56.91, 294.88°) |
| OKLab | oklab(44.97% 0.0044 -0.1483) |
| OKLCH | oklch(44.97% 0.148 271.7) |
| XYZ | xyz(11.0743, 8.5493, 37.1356) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.49
Blueberry
#464196
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.52
Cobalt (survey)
#1E488F
ΔE00 5.55
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AA6 #A6963A
analogous
#3A80A6 #3A4AA6 #603AA6
triadic
#3A4AA6 #A63A4A #4AA63A
tetradic
#3A4AA6 #A63A80 #A6963A #3AA660
square
#3A4AA6 #A63A80 #A6963A #3AA660
split-complementary
#3A4AA6 #A6603A #80A63A
monochromatic
#1A224B #2A3679 #3A4AA6 #5868C5 #8691D5
Accessibility & contrast
On white
7.75
#3A4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3A4AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AA6
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AA6 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0158A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4aa6; /* rgb */ color: rgb(58, 74, 166); /* oklch */ color: oklch(45.0% 0.148 271.7);
Tailwind
colors: {
custom: {
50: '#7c7cc1',
500: '#3a4aa6',
950: '#000000',
},
}SCSS
$custom: #3a4aa6; $custom-light: #7c7cc1; $custom-dark: #000000;
JSON
{
"hex": "#3a4aa6",
"rgb": {
"r": 58,
"g": 74,
"b": 166
},
"hsl": {
"h": 231.111,
"s": 48.214,
"l": 43.922
},
"oklch": {
"l": 0.44972,
"c": 0.1484,
"h": 271.7
},
"luminance": 0.0855
}Semantic roles & 50–950 ramp
primary
#3A4AA6
secondary
#BFB57D
accent
#C450D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81