#3A5EC7#3A5EC7
#3A5EC7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.169 H 266.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EC7 |
|---|---|
| RGB | rgb(58, 94, 199) |
| HSL | hsl(225, 56%, 50%) |
| HSV | hsv(225, 71%, 78%) |
| CMYK | cmyk(70.9%, 52.8%, 0%, 22%) |
| CIE-LAB | lab(42.80, 22.92, -58.56) |
| CIE-LCH | lch(42.80, 62.88, 291.37°) |
| OKLab | oklab(51.52% -0.011 -0.1684) |
| OKLCH | oklch(51.52% 0.169 266.3) |
| XYZ | xyz(16.0528, 13.0268, 55.6902) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.33
Denim
#1560BD
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 4.99
Royal Blue
#4169E1
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.06
French Blue
#436BAD
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EC7 #C7A33A
analogous
#3AA4C7 #3A5EC7 #5C3AC7
triadic
#3A5EC7 #C73A5E #5EC73A
tetradic
#3A5EC7 #C73AA4 #C7A33A #3AC75C
square
#3A5EC7 #C73AA4 #C7A33A #3AC75C
split-complementary
#3A5EC7 #C75C3A #A4C73A
monochromatic
#1E3169 #2B4798 #3A5EC7 #6A85D5 #99ACE2
Accessibility & contrast
On white
5.82
#3A5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#3A5EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EC7
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EC7 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5ec7; /* rgb */ color: rgb(58, 94, 199); /* oklch */ color: oklch(51.5% 0.169 266.3);
Tailwind
colors: {
custom: {
50: '#828bd9',
500: '#3a5ec7',
950: '#000000',
},
}SCSS
$custom: #3a5ec7; $custom-light: #828bd9; $custom-dark: #000000;
JSON
{
"hex": "#3a5ec7",
"rgb": {
"r": 58,
"g": 94,
"b": 199
},
"hsl": {
"h": 224.681,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.51524,
"c": 0.1688,
"h": 266.3
},
"luminance": 0.13028
}Semantic roles & 50–950 ramp
primary
#3A5EC7
secondary
#CEBE8F
accent
#B949DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83