#3A54AE#3A54AE
#3A54AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.147 H 268.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3A54AE |
|---|---|
| RGB | rgb(58, 84, 174) |
| HSL | hsl(227, 50%, 45%) |
| HSV | hsv(227, 67%, 68%) |
| CMYK | cmyk(66.7%, 51.7%, 0%, 31.8%) |
| CIE-LAB | lab(38.37, 20.29, -51.11) |
| CIE-LCH | lch(38.37, 54.99, 291.65°) |
| OKLab | oklab(47.61% -0.0045 -0.1467) |
| OKLCH | oklch(47.61% 0.147 268.3) |
| XYZ | xyz(12.5526, 10.2950, 41.3618) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.57
Denim Blue
#3B5B92
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.20
Dusky Blue
#475F94
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 6.01
Cobalt (survey)
#1E488F
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A54AE #AE943A
analogous
#3A8EAE #3A54AE #5A3AAE
triadic
#3A54AE #AE3A54 #54AE3A
tetradic
#3A54AE #AE3A8E #AE943A #3AAE5A
square
#3A54AE #AE3A8E #AE943A #3AAE5A
split-complementary
#3A54AE #AE5A3A #8EAE3A
monochromatic
#1B2852 #2B3E80 #3A54AE #5C75C9 #8A9CD8
Accessibility & contrast
On white
6.86
#3A54AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3A54AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A54AE
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A54AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A54AE | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3a54ae; /* rgb */ color: rgb(58, 84, 174); /* oklch */ color: oklch(47.6% 0.147 268.3);
Tailwind
colors: {
custom: {
50: '#7d83c7',
500: '#3a54ae',
950: '#000000',
},
}SCSS
$custom: #3a54ae; $custom-light: #7d83c7; $custom-dark: #000000;
JSON
{
"hex": "#3a54ae",
"rgb": {
"r": 58,
"g": 84,
"b": 174
},
"hsl": {
"h": 226.552,
"s": 50,
"l": 45.49
},
"oklch": {
"l": 0.47613,
"c": 0.14675,
"h": 268.3
},
"luminance": 0.10296
}Semantic roles & 50–950 ramp
primary
#3A54AE
secondary
#C2B481
accent
#BA4EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82