#3A5DC1#3A5DC1
#3A5DC1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.162 H 266.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC1 |
|---|---|
| RGB | rgb(58, 93, 193) |
| HSL | hsl(224, 54%, 49%) |
| HSV | hsv(224, 70%, 76%) |
| CMYK | cmyk(69.9%, 51.8%, 0%, 24.3%) |
| CIE-LAB | lab(42.12, 21.37, -56.19) |
| CIE-LCH | lch(42.12, 60.12, 290.82°) |
| OKLab | oklab(50.87% -0.0107 -0.1615) |
| OKLCH | oklch(50.87% 0.162 266.2) |
| XYZ | xyz(15.2816, 12.5769, 52.0640) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.53
Azul
#1D5DEC
ΔE00 5.08
Warm Blue
#4B57DB
ΔE00 5.45
French Blue
#436BAD
ΔE00 5.53
Royal Blue
#4169E1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC1 #C19E3A
analogous
#3AA1C1 #3A5DC1 #5A3AC1
triadic
#3A5DC1 #C13A5D #5DC13A
tetradic
#3A5DC1 #C13AA1 #C19E3A #3AC15A
square
#3A5DC1 #C13AA1 #C19E3A #3AC15A
split-complementary
#3A5DC1 #C15A3A #A1C13A
monochromatic
#1E3063 #2C4692 #3A5DC1 #6782D1 #96A9DF
Accessibility & contrast
On white
5.97
#3A5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3A5DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC1
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC1 | 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)
#1D6AC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3a5dc1; /* rgb */ color: rgb(58, 93, 193); /* oklch */ color: oklch(50.9% 0.162 266.2);
Tailwind
colors: {
custom: {
50: '#808ad4',
500: '#3a5dc1',
950: '#000000',
},
}SCSS
$custom: #3a5dc1; $custom-light: #808ad4; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc1",
"rgb": {
"r": 58,
"g": 93,
"b": 193
},
"hsl": {
"h": 224.444,
"s": 53.785,
"l": 49.216
},
"oklch": {
"l": 0.50873,
"c": 0.16184,
"h": 266.2
},
"luminance": 0.12578
}Semantic roles & 50–950 ramp
primary
#3A5DC1
secondary
#CBBB8C
accent
#B74BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83