#3A5AAA#3A5AAA
#3A5AAA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.133 H 265.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5AAA |
|---|---|
| RGB | rgb(58, 90, 170) |
| HSL | hsl(223, 49%, 45%) |
| HSV | hsv(223, 66%, 67%) |
| CMYK | cmyk(65.9%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(39.77, 14.92, -46.49) |
| CIE-LCH | lch(39.77, 48.82, 287.80°) |
| OKLab | oklab(48.6% -0.0108 -0.133) |
| OKLCH | oklch(48.6% 0.133 265.4) |
| XYZ | xyz(12.6543, 11.1130, 39.5006) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.31
Dusky Blue
#475F94
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 3.99
Denim
#1560BD
ΔE00 4.73
Dusk Blue
#26538D
ΔE00 5.27
Light Navy Blue
#2E5A88
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5AAA #AA8A3A
analogous
#3A92AA #3A5AAA #523AAA
triadic
#3A5AAA #AA3A5A #5AAA3A
tetradic
#3A5AAA #AA3A92 #AA8A3A #3AAA52
square
#3A5AAA #AA3A92 #AA8A3A #3AAA52
split-complementary
#3A5AAA #AA523A #92AA3A
monochromatic
#1B2A4F #2A427C #3A5AAA #5A79C7 #889ED6
Accessibility & contrast
On white
6.52
#3A5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3A5AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5AAA
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5AAA | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a5aaa; /* rgb */ color: rgb(58, 90, 170); /* oklch */ color: oklch(48.6% 0.133 265.4);
Tailwind
colors: {
custom: {
50: '#7c88c4',
500: '#3a5aaa',
950: '#000000',
},
}SCSS
$custom: #3a5aaa; $custom-light: #7c88c4; $custom-dark: #000000;
JSON
{
"hex": "#3a5aaa",
"rgb": {
"r": 58,
"g": 90,
"b": 170
},
"hsl": {
"h": 222.857,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.48597,
"c": 0.13342,
"h": 265.4
},
"luminance": 0.11114
}Semantic roles & 50–950 ramp
primary
#3A5AAA
secondary
#C1AE7F
accent
#B14FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82