#3A5BC7#3A5BC7
#3A5BC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.172 H 267.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5BC7 |
|---|---|
| RGB | rgb(58, 91, 199) |
| HSL | hsl(226, 56%, 50%) |
| HSV | hsv(226, 71%, 78%) |
| CMYK | cmyk(70.9%, 54.3%, 0%, 22%) |
| CIE-LAB | lab(42.01, 24.85, -59.85) |
| CIE-LCH | lch(42.01, 64.80, 292.55°) |
| OKLab | oklab(50.92% -0.0085 -0.1723) |
| OKLCH | oklch(50.92% 0.173 267.2) |
| XYZ | xyz(15.7912, 12.5036, 55.6030) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.39
Azul
#1D5DEC
ΔE00 4.45
Sapphire
#0F52BA
ΔE00 4.62
Denim
#1560BD
ΔE00 5.22
Royal Blue
#4169E1
ΔE00 5.78
French Blue
#436BAD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5BC7 #C7A63A
analogous
#3AA2C7 #3A5BC7 #5F3AC7
triadic
#3A5BC7 #C73A5B #5BC73A
tetradic
#3A5BC7 #C73AA2 #C7A63A #3AC75F
square
#3A5BC7 #C73AA2 #C7A63A #3AC75F
split-complementary
#3A5BC7 #C75F3A #A2C73A
monochromatic
#1E2F69 #2B4598 #3A5BC7 #6A83D5 #99AAE2
Accessibility & contrast
On white
6.00
#3A5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#3A5BC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5BC7
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5BC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5BC7 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3a5bc7; /* rgb */ color: rgb(58, 91, 199); /* oklch */ color: oklch(50.9% 0.172 267.2);
Tailwind
colors: {
custom: {
50: '#8288d9',
500: '#3a5bc7',
950: '#000000',
},
}SCSS
$custom: #3a5bc7; $custom-light: #8288d9; $custom-dark: #000000;
JSON
{
"hex": "#3a5bc7",
"rgb": {
"r": 58,
"g": 91,
"b": 199
},
"hsl": {
"h": 225.957,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.50921,
"c": 0.1725,
"h": 267.2
},
"luminance": 0.12505
}Semantic roles & 50–950 ramp
primary
#3A5BC7
secondary
#CEBF8F
accent
#BC49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83