#3A5AAE#3A5AAE
#3A5AAE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.139 H 265.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5AAE |
|---|---|
| RGB | rgb(58, 90, 174) |
| HSL | hsl(223, 50%, 45%) |
| HSV | hsv(223, 67%, 68%) |
| CMYK | cmyk(66.7%, 48.3%, 0%, 31.8%) |
| CIE-LAB | lab(40.03, 16.38, -48.44) |
| CIE-LCH | lch(40.03, 51.13, 288.68°) |
| OKLab | oklab(48.88% -0.0102 -0.1387) |
| OKLCH | oklch(48.88% 0.139 265.8) |
| XYZ | xyz(13.0384, 11.2666, 41.5237) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.82
Denim Blue
#3B5B92
ΔE00 3.83
Dusky Blue
#475F94
ΔE00 4.34
Denim
#1560BD
ΔE00 4.66
Dusk Blue
#26538D
ΔE00 5.70
Denim (survey)
#3B638C
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5AAE #AE8E3A
analogous
#3A94AE #3A5AAE #543AAE
triadic
#3A5AAE #AE3A5A #5AAE3A
tetradic
#3A5AAE #AE3A94 #AE8E3A #3AAE54
square
#3A5AAE #AE3A94 #AE8E3A #3AAE54
split-complementary
#3A5AAE #AE543A #94AE3A
monochromatic
#1B2B52 #2B4280 #3A5AAE #5C7AC9 #8AA0D8
Accessibility & contrast
On white
6.45
#3A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#3A5AAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5AAE
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5AAE | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a5aae; /* rgb */ color: rgb(58, 90, 174); /* oklch */ color: oklch(48.9% 0.139 265.8);
Tailwind
colors: {
custom: {
50: '#7d88c7',
500: '#3a5aae',
950: '#000000',
},
}SCSS
$custom: #3a5aae; $custom-light: #7d88c7; $custom-dark: #000000;
JSON
{
"hex": "#3a5aae",
"rgb": {
"r": 58,
"g": 90,
"b": 174
},
"hsl": {
"h": 223.448,
"s": 50,
"l": 45.49
},
"oklch": {
"l": 0.48875,
"c": 0.13911,
"h": 265.8
},
"luminance": 0.11268
}Semantic roles & 50–950 ramp
primary
#3A5AAE
secondary
#C2B181
accent
#B34EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82