#3A5FC2#3A5FC2
#3A5FC2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.161 H 265.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5FC2 |
|---|---|
| RGB | rgb(58, 95, 194) |
| HSL | hsl(224, 54%, 49%) |
| HSV | hsv(224, 70%, 76%) |
| CMYK | cmyk(70.1%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(42.73, 20.45, -55.78) |
| CIE-LCH | lch(42.73, 59.41, 290.13°) |
| OKLab | oklab(51.36% -0.0123 -0.1603) |
| OKLCH | oklch(51.36% 0.161 265.6) |
| XYZ | xyz(15.5713, 12.9774, 52.7127) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.06
French Blue
#436BAD
ΔE00 4.95
Azul
#1D5DEC
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 4.98
Royal Blue
#4169E1
ΔE00 5.31
Warm Blue
#4B57DB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5FC2 #C29D3A
analogous
#3AA3C2 #3A5FC2 #593AC2
triadic
#3A5FC2 #C23A5F #5FC23A
tetradic
#3A5FC2 #C23AA3 #C29D3A #3AC259
square
#3A5FC2 #C23AA3 #C29D3A #3AC259
split-complementary
#3A5FC2 #C2593A #A3C23A
monochromatic
#1E3164 #2C4893 #3A5FC2 #6784D2 #97ABE0
Accessibility & contrast
On white
5.84
#3A5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#3A5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5FC2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5FC2 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5fc2; /* rgb */ color: rgb(58, 95, 194); /* oklch */ color: oklch(51.4% 0.161 265.6);
Tailwind
colors: {
custom: {
50: '#818bd5',
500: '#3a5fc2',
950: '#000000',
},
}SCSS
$custom: #3a5fc2; $custom-light: #818bd5; $custom-dark: #000000;
JSON
{
"hex": "#3a5fc2",
"rgb": {
"r": 58,
"g": 95,
"b": 194
},
"hsl": {
"h": 223.676,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.51358,
"c": 0.16073,
"h": 265.6
},
"luminance": 0.12979
}Semantic roles & 50–950 ramp
primary
#3A5FC2
secondary
#CBBA8D
accent
#B54ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83