#3A5FC0#3A5FC0
#3A5FC0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.158 H 265.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5FC0 |
|---|---|
| RGB | rgb(58, 95, 192) |
| HSL | hsl(223, 54%, 49%) |
| HSV | hsv(223, 70%, 75%) |
| CMYK | cmyk(69.8%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.59, 19.71, -54.84) |
| CIE-LCH | lch(42.59, 58.28, 289.77°) |
| OKLab | oklab(51.21% -0.0125 -0.1575) |
| OKLCH | oklch(51.21% 0.158 265.4) |
| XYZ | xyz(15.3482, 12.8882, 51.5377) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.93
French Blue
#436BAD
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 4.89
Azul
#1D5DEC
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 5.52
Warm Blue
#4B57DB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5FC0 #C09B3A
analogous
#3AA2C0 #3A5FC0 #583AC0
triadic
#3A5FC0 #C03A5F #5FC03A
tetradic
#3A5FC0 #C03AA2 #C09B3A #3AC058
square
#3A5FC0 #C03AA2 #C09B3A #3AC058
split-complementary
#3A5FC0 #C0583A #A2C03A
monochromatic
#1E3062 #2C4891 #3A5FC0 #6684D1 #95AADF
Accessibility & contrast
On white
5.87
#3A5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#3A5FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5FC0
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5FC0 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5fc0; /* rgb */ color: rgb(58, 95, 192); /* oklch */ color: oklch(51.2% 0.158 265.4);
Tailwind
colors: {
custom: {
50: '#808bd4',
500: '#3a5fc0',
950: '#000000',
},
}SCSS
$custom: #3a5fc0; $custom-light: #808bd4; $custom-dark: #000000;
JSON
{
"hex": "#3a5fc0",
"rgb": {
"r": 58,
"g": 95,
"b": 192
},
"hsl": {
"h": 223.433,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.51213,
"c": 0.15799,
"h": 265.4
},
"luminance": 0.1289
}Semantic roles & 50–950 ramp
primary
#3A5FC0
secondary
#CAB98B
accent
#B54BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83