#3A4AAC#3A4AAC
#3A4AAC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.157 H 271.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AAC |
|---|---|
| RGB | rgb(58, 74, 172) |
| HSL | hsl(232, 50%, 45%) |
| HSV | hsv(232, 66%, 67%) |
| CMYK | cmyk(66.3%, 57%, 0%, 32.5%) |
| CIE-LAB | lab(35.55, 26.10, -54.49) |
| CIE-LCH | lch(35.55, 60.42, 295.59°) |
| OKLab | oklab(45.45% 0.0046 -0.1567) |
| OKLCH | oklch(45.45% 0.157 271.7) |
| XYZ | xyz(11.6376, 8.7746, 40.1021) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.49
Cobalt
#0047AB
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 5.01
Blueberry
#464196
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AAC #AC9C3A
analogous
#3A83AC #3A4AAC #633AAC
triadic
#3A4AAC #AC3A4A #4AAC3A
tetradic
#3A4AAC #AC3A83 #AC9C3A #3AAC63
square
#3A4AAC #AC3A83 #AC9C3A #3AAC63
split-complementary
#3A4AAC #AC633A #83AC3A
monochromatic
#1B2350 #2B367E #3A4AAC #5B6BC8 #8994D7
Accessibility & contrast
On white
7.62
#3A4AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3A4AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AAC
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AAC | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3a4aac; /* rgb */ color: rgb(58, 74, 172); /* oklch */ color: oklch(45.4% 0.157 271.7);
Tailwind
colors: {
custom: {
50: '#7d7cc5',
500: '#3a4aac',
950: '#000000',
},
}SCSS
$custom: #3a4aac; $custom-light: #7d7cc5; $custom-dark: #000000;
JSON
{
"hex": "#3a4aac",
"rgb": {
"r": 58,
"g": 74,
"b": 172
},
"hsl": {
"h": 231.579,
"s": 49.565,
"l": 45.098
},
"oklch": {
"l": 0.45446,
"c": 0.15682,
"h": 271.7
},
"luminance": 0.08776
}Semantic roles & 50–950 ramp
primary
#3A4AAC
secondary
#C2B880
accent
#C64FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82