#3A5DC3#3A5DC3
#3A5DC3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.165 H 266.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC3 |
|---|---|
| RGB | rgb(58, 93, 195) |
| HSL | hsl(225, 54%, 50%) |
| HSV | hsv(225, 70%, 76%) |
| CMYK | cmyk(70.3%, 52.3%, 0%, 23.5%) |
| CIE-LAB | lab(42.26, 22.10, -57.13) |
| CIE-LCH | lch(42.26, 61.25, 291.15°) |
| OKLab | oklab(51.02% -0.0105 -0.1642) |
| OKLCH | oklch(51.02% 0.165 266.3) |
| XYZ | xyz(15.5062, 12.6668, 53.2469) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 4.64
Azul
#1D5DEC
ΔE00 4.84
Warm Blue
#4B57DB
ΔE00 5.22
Royal Blue
#4169E1
ΔE00 5.63
French Blue
#436BAD
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC3 #C3A03A
analogous
#3AA1C3 #3A5DC3 #5C3AC3
triadic
#3A5DC3 #C33A5D #5DC33A
tetradic
#3A5DC3 #C33AA1 #C3A03A #3AC35C
square
#3A5DC3 #C33AA1 #C3A03A #3AC35C
split-complementary
#3A5DC3 #C35C3A #A1C33A
monochromatic
#1E3065 #2C4794 #3A5DC3 #6883D2 #97AAE0
Accessibility & contrast
On white
5.94
#3A5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#3A5DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC3
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC3 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196AC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5dc3; /* rgb */ color: rgb(58, 93, 195); /* oklch */ color: oklch(51.0% 0.165 266.3);
Tailwind
colors: {
custom: {
50: '#818ad6',
500: '#3a5dc3',
950: '#000000',
},
}SCSS
$custom: #3a5dc3; $custom-light: #818ad6; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc3",
"rgb": {
"r": 58,
"g": 93,
"b": 195
},
"hsl": {
"h": 224.672,
"s": 54.15,
"l": 49.608
},
"oklch": {
"l": 0.51022,
"c": 0.16458,
"h": 266.3
},
"luminance": 0.12668
}Semantic roles & 50–950 ramp
primary
#3A5DC3
secondary
#CCBC8D
accent
#B84ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83