#3A45A2#3A45A2
#3A45A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.149 H 273.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3A45A2 |
|---|---|
| RGB | rgb(58, 69, 162) |
| HSL | hsl(234, 47%, 43%) |
| HSV | hsv(234, 64%, 64%) |
| CMYK | cmyk(64.2%, 57.4%, 0%, 36.5%) |
| CIE-LAB | lab(33.49, 25.79, -51.85) |
| CIE-LCH | lch(33.49, 57.91, 296.45°) |
| OKLab | oklab(43.67% 0.0089 -0.149) |
| OKLCH | oklch(43.67% 0.149 273.4) |
| XYZ | xyz(10.3925, 7.7635, 35.1263) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A45A2 #A2973A
analogous
#3A79A2 #3A45A2 #633AA2
triadic
#3A45A2 #A23A45 #45A23A
tetradic
#3A45A2 #A23A79 #A2973A #3AA263
square
#3A45A2 #A23A79 #A2973A #3AA263
split-complementary
#3A45A2 #A2633A #79A23A
monochromatic
#1A1F48 #2A3275 #3A45A2 #5762C3 #848CD3
Accessibility & contrast
On white
8.23
#3A45A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3A45A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A45A2
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A45A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A45A2 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3a45a2; /* rgb */ color: rgb(58, 69, 162); /* oklch */ color: oklch(43.7% 0.149 273.4);
Tailwind
colors: {
custom: {
50: '#7c78be',
500: '#3a45a2',
950: '#000000',
},
}SCSS
$custom: #3a45a2; $custom-light: #7c78be; $custom-dark: #000000;
JSON
{
"hex": "#3a45a2",
"rgb": {
"r": 58,
"g": 69,
"b": 162
},
"hsl": {
"h": 233.654,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.43669,
"c": 0.14931,
"h": 273.4
},
"luminance": 0.07764
}Semantic roles & 50–950 ramp
primary
#3A45A2
secondary
#BDB67B
accent
#C951D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81