#3A7CE5#3A7CE5
#3A7CE5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.173 H 259.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7CE5 |
|---|---|
| RGB | rgb(58, 124, 229) |
| HSL | hsl(217, 77%, 56%) |
| HSV | hsv(217, 75%, 90%) |
| CMYK | cmyk(74.7%, 45.9%, 0%, 10.2%) |
| CIE-LAB | lab(52.92, 14.93, -59.32) |
| CIE-LCH | lch(52.92, 61.17, 284.13°) |
| OKLab | oklab(59.88% -0.0318 -0.1702) |
| OKLCH | oklch(59.88% 0.173 259.4) |
| XYZ | xyz(23.0903, 20.9694, 76.9441) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 2.38
Deep Sky Blue
#0D75F8
ΔE00 2.86
Azure
#007FFF
ΔE00 2.91
Lightish Blue
#3D7AFD
ΔE00 3.33
Dodger Blue
#3E82FC
ΔE00 3.37
Windows Blue
#3778BF
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7CE5 #E5A33A
analogous
#3AD2E5 #3A7CE5 #4E3AE5
triadic
#3A7CE5 #E53A7C #7CE53A
tetradic
#3A7CE5 #E53AD2 #E5A33A #3AE54E
square
#3A7CE5 #E53AD2 #E5A33A #3AE54E
split-complementary
#3A7CE5 #E54E3A #D2E53A
monochromatic
#134491 #1A5DC7 #3A7CE5 #70A0EC #A6C4F3
Accessibility & contrast
On white
4.04
#3A7CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#3A7CE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A7CE5
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7CE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A7CE5 | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4487E9
Deuteranopia (green-blind)
#1A77E3
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #3a7ce5; /* rgb */ color: rgb(58, 124, 229); /* oklch */ color: oklch(59.9% 0.173 259.4);
Tailwind
colors: {
custom: {
50: '#87a1ee',
500: '#3a7ce5',
950: '#000000',
},
}SCSS
$custom: #3a7ce5; $custom-light: #87a1ee; $custom-dark: #000000;
JSON
{
"hex": "#3a7ce5",
"rgb": {
"r": 58,
"g": 124,
"b": 229
},
"hsl": {
"h": 216.842,
"s": 76.682,
"l": 56.275
},
"oklch": {
"l": 0.59875,
"c": 0.17312,
"h": 259.4
},
"luminance": 0.20972
}Semantic roles & 50–950 ramp
primary
#3A7CE5
secondary
#E1C59A
accent
#AA35F3
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84