#3A5CC6#3A5CC6
#3A5CC6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.170 H 266.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5CC6 |
|---|---|
| RGB | rgb(58, 92, 198) |
| HSL | hsl(225, 55%, 50%) |
| HSV | hsv(225, 71%, 78%) |
| CMYK | cmyk(70.7%, 53.5%, 0%, 22.4%) |
| CIE-LAB | lab(42.20, 23.84, -58.96) |
| CIE-LCH | lch(42.20, 63.60, 292.02°) |
| OKLab | oklab(51.04% -0.0094 -0.1696) |
| OKLCH | oklch(51.04% 0.17 266.8) |
| XYZ | xyz(15.7616, 12.6294, 55.0222) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 4.67
Warm Blue
#4B57DB
ΔE00 4.69
Denim
#1560BD
ΔE00 4.93
Royal Blue
#4169E1
ΔE00 5.61
French Blue
#436BAD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5CC6 #C6A43A
analogous
#3AA2C6 #3A5CC6 #5E3AC6
triadic
#3A5CC6 #C63A5C #5CC63A
tetradic
#3A5CC6 #C63AA2 #C6A43A #3AC65E
square
#3A5CC6 #C63AA2 #C6A43A #3AC65E
split-complementary
#3A5CC6 #C65E3A #A2C63A
monochromatic
#1E3068 #2C4697 #3A5CC6 #6983D4 #99ABE1
Accessibility & contrast
On white
5.96
#3A5CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#3A5CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5CC6
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5CC6 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6ACA
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5cc6; /* rgb */ color: rgb(58, 92, 198); /* oklch */ color: oklch(51.0% 0.170 266.8);
Tailwind
colors: {
custom: {
50: '#8189d8',
500: '#3a5cc6',
950: '#000000',
},
}SCSS
$custom: #3a5cc6; $custom-light: #8189d8; $custom-dark: #000000;
JSON
{
"hex": "#3a5cc6",
"rgb": {
"r": 58,
"g": 92,
"b": 198
},
"hsl": {
"h": 225.429,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.51045,
"c": 0.16991,
"h": 266.8
},
"luminance": 0.12631
}Semantic roles & 50–950 ramp
primary
#3A5CC6
secondary
#CDBE8F
accent
#BA49DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83