#3A45AA#3A45AA
#3A45AA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.160 H 273.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A45AA |
|---|---|
| RGB | rgb(58, 69, 170) |
| HSL | hsl(234, 49%, 45%) |
| HSV | hsv(234, 66%, 67%) |
| CMYK | cmyk(65.9%, 59.4%, 0%, 33.3%) |
| CIE-LAB | lab(34.10, 28.64, -55.64) |
| CIE-LCH | lch(34.10, 62.58, 297.23°) |
| OKLab | oklab(44.32% 0.009 -0.1602) |
| OKLCH | oklch(44.32% 0.16 273.2) |
| XYZ | xyz(11.1263, 8.0571, 38.9912) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.05
Ocean Blue
#4F42B5
ΔE00 4.11
Sapphire (survey)
#2138AB
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 4.18
Cobalt
#0047AB
ΔE00 5.09
Darkslateblue
#483D8B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A45AA #AA9F3A
analogous
#3A7DAA #3A45AA #673AAA
triadic
#3A45AA #AA3A45 #45AA3A
tetradic
#3A45AA #AA3A7D #AA9F3A #3AAA67
square
#3A45AA #AA3A7D #AA9F3A #3AAA67
split-complementary
#3A45AA #AA673A #7DAA3A
monochromatic
#1B204F #2A327C #3A45AA #5A65C7 #8890D6
Accessibility & contrast
On white
8.04
#3A45AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3A45AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A45AA
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A45AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A45AA | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3a45aa; /* rgb */ color: rgb(58, 69, 170); /* oklch */ color: oklch(44.3% 0.160 273.2);
Tailwind
colors: {
custom: {
50: '#7d78c4',
500: '#3a45aa',
950: '#000000',
},
}SCSS
$custom: #3a45aa; $custom-light: #7d78c4; $custom-dark: #000000;
JSON
{
"hex": "#3a45aa",
"rgb": {
"r": 58,
"g": 69,
"b": 170
},
"hsl": {
"h": 234.107,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.44321,
"c": 0.16045,
"h": 273.2
},
"luminance": 0.08058
}Semantic roles & 50–950 ramp
primary
#3A45AA
secondary
#C1BA7F
accent
#CB4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82