#3A5DC7#3A5DC7
#3A5DC7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.170 H 266.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC7 |
|---|---|
| RGB | rgb(58, 93, 199) |
| HSL | hsl(225, 56%, 50%) |
| HSV | hsv(225, 71%, 78%) |
| CMYK | cmyk(70.9%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(42.54, 23.56, -58.99) |
| CIE-LCH | lch(42.54, 63.52, 291.77°) |
| OKLab | oklab(51.32% -0.0102 -0.1697) |
| OKLCH | oklch(51.32% 0.17 266.6) |
| XYZ | xyz(15.9645, 12.8501, 55.6607) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.78
Denim
#1560BD
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 4.89
Royal Blue
#4169E1
ΔE00 5.28
French Blue
#436BAD
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC7 #C7A43A
analogous
#3AA4C7 #3A5DC7 #5D3AC7
triadic
#3A5DC7 #C73A5D #5DC73A
tetradic
#3A5DC7 #C73AA4 #C7A43A #3AC75D
square
#3A5DC7 #C73AA4 #C7A43A #3AC75D
split-complementary
#3A5DC7 #C75D3A #A4C73A
monochromatic
#1E3069 #2B4698 #3A5DC7 #6A84D5 #99ABE2
Accessibility & contrast
On white
5.88
#3A5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3A5DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC7
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC7 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5dc7; /* rgb */ color: rgb(58, 93, 199); /* oklch */ color: oklch(51.3% 0.170 266.6);
Tailwind
colors: {
custom: {
50: '#828ad9',
500: '#3a5dc7',
950: '#000000',
},
}SCSS
$custom: #3a5dc7; $custom-light: #828ad9; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc7",
"rgb": {
"r": 58,
"g": 93,
"b": 199
},
"hsl": {
"h": 225.106,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.51322,
"c": 0.17003,
"h": 266.6
},
"luminance": 0.12852
}Semantic roles & 50–950 ramp
primary
#3A5DC7
secondary
#CEBE8F
accent
#BA49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83