#3A5FC4#3A5FC4
#3A5FC4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.163 H 265.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5FC4 |
|---|---|
| RGB | rgb(58, 95, 196) |
| HSL | hsl(224, 54%, 50%) |
| HSV | hsv(224, 70%, 77%) |
| CMYK | cmyk(70.4%, 51.5%, 0%, 23.1%) |
| CIE-LAB | lab(42.87, 21.18, -56.72) |
| CIE-LCH | lch(42.87, 60.55, 290.47°) |
| OKLab | oklab(51.51% -0.0121 -0.163) |
| OKLCH | oklch(51.51% 0.163 265.7) |
| XYZ | xyz(15.7975, 13.0679, 53.9037) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.20
Azul
#1D5DEC
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 5.08
French Blue
#436BAD
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5FC4 #C49F3A
analogous
#3AA4C4 #3A5FC4 #5A3AC4
triadic
#3A5FC4 #C43A5F #5FC43A
tetradic
#3A5FC4 #C43AA4 #C49F3A #3AC45A
square
#3A5FC4 #C43AA4 #C49F3A #3AC45A
split-complementary
#3A5FC4 #C45A3A #A4C43A
monochromatic
#1E3166 #2C4895 #3A5FC4 #6985D3 #98ABE0
Accessibility & contrast
On white
5.81
#3A5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#3A5FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5FC4
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5FC4 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6CC8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5fc4; /* rgb */ color: rgb(58, 95, 196); /* oklch */ color: oklch(51.5% 0.163 265.7);
Tailwind
colors: {
custom: {
50: '#818bd6',
500: '#3a5fc4',
950: '#000000',
},
}SCSS
$custom: #3a5fc4; $custom-light: #818bd6; $custom-dark: #000000;
JSON
{
"hex": "#3a5fc4",
"rgb": {
"r": 58,
"g": 95,
"b": 196
},
"hsl": {
"h": 223.913,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.51505,
"c": 0.16347,
"h": 265.7
},
"luminance": 0.13069
}Semantic roles & 50–950 ramp
primary
#3A5FC4
secondary
#CCBB8E
accent
#B64ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83