#3A5CC5#3A5CC5
#3A5CC5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.169 H 266.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5CC5 |
|---|---|
| RGB | rgb(58, 92, 197) |
| HSL | hsl(225, 55%, 50%) |
| HSV | hsv(225, 71%, 77%) |
| CMYK | cmyk(70.6%, 53.3%, 0%, 22.7%) |
| CIE-LAB | lab(42.13, 23.47, -58.49) |
| CIE-LCH | lch(42.13, 63.03, 291.87°) |
| OKLab | oklab(50.97% -0.0095 -0.1683) |
| OKLCH | oklch(50.97% 0.169 266.8) |
| XYZ | xyz(15.6466, 12.5835, 54.4168) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.60
Azul
#1D5DEC
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 4.80
Denim
#1560BD
ΔE00 4.86
Royal Blue
#4169E1
ΔE00 5.69
French Blue
#436BAD
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5CC5 #C5A33A
analogous
#3AA1C5 #3A5CC5 #5E3AC5
triadic
#3A5CC5 #C53A5C #5CC53A
tetradic
#3A5CC5 #C53AA1 #C5A33A #3AC55E
square
#3A5CC5 #C53AA1 #C5A33A #3AC55E
split-complementary
#3A5CC5 #C55E3A #A1C53A
monochromatic
#1E3066 #2C4696 #3A5CC5 #6983D3 #99AAE1
Accessibility & contrast
On white
5.97
#3A5CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3A5CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5CC5
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5CC5 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6AC9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3a5cc5; /* rgb */ color: rgb(58, 92, 197); /* oklch */ color: oklch(51.0% 0.169 266.8);
Tailwind
colors: {
custom: {
50: '#8189d7',
500: '#3a5cc5',
950: '#000000',
},
}SCSS
$custom: #3a5cc5; $custom-light: #8189d7; $custom-dark: #000000;
JSON
{
"hex": "#3a5cc5",
"rgb": {
"r": 58,
"g": 92,
"b": 197
},
"hsl": {
"h": 225.324,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.50969,
"c": 0.16855,
"h": 266.8
},
"luminance": 0.12585
}Semantic roles & 50–950 ramp
primary
#3A5CC5
secondary
#CDBD8E
accent
#BA4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83