#3A7FE5#3A7FE5
#3A7FE5 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.170 H 258.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7FE5 |
|---|---|
| RGB | rgb(58, 127, 229) |
| HSL | hsl(216, 77%, 56%) |
| HSV | hsv(216, 75%, 90%) |
| CMYK | cmyk(74.7%, 44.5%, 0%, 10.2%) |
| CIE-LAB | lab(53.74, 13.08, -58.00) |
| CIE-LCH | lch(53.74, 59.45, 282.71°) |
| OKLab | oklab(60.51% -0.0343 -0.1662) |
| OKLCH | oklch(60.51% 0.17 258.4) |
| XYZ | xyz(23.4720, 21.7328, 77.0713) |
| Luminance | 0.2173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azure
#007FFF
ΔE00 2.44
Clear Blue
#247AFD
ΔE00 2.82
Dodger Blue
#3E82FC
ΔE00 3.01
Deep Sky Blue
#0D75F8
ΔE00 3.68
Lightish Blue
#3D7AFD
ΔE00 3.85
Windows Blue
#3778BF
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7FE5 #E5A03A
analogous
#3AD5E5 #3A7FE5 #4B3AE5
triadic
#3A7FE5 #E53A7F #7FE53A
tetradic
#3A7FE5 #E53AD5 #E5A03A #3AE54B
square
#3A7FE5 #E53AD5 #E5A03A #3AE54B
split-complementary
#3A7FE5 #E54B3A #D5E53A
monochromatic
#134691 #1A60C7 #3A7FE5 #70A2EC #A6C5F3
Accessibility & contrast
On white
3.93
#3A7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#3A7FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A7FE5
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A7FE5 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #3a7fe5; /* rgb */ color: rgb(58, 127, 229); /* oklch */ color: oklch(60.5% 0.170 258.4);
Tailwind
colors: {
custom: {
50: '#86a3ee',
500: '#3a7fe5',
950: '#000000',
},
}SCSS
$custom: #3a7fe5; $custom-light: #86a3ee; $custom-dark: #000000;
JSON
{
"hex": "#3a7fe5",
"rgb": {
"r": 58,
"g": 127,
"b": 229
},
"hsl": {
"h": 215.789,
"s": 76.682,
"l": 56.275
},
"oklch": {
"l": 0.60512,
"c": 0.1697,
"h": 258.4
},
"luminance": 0.21735
}Semantic roles & 50–950 ramp
primary
#3A7FE5
secondary
#E1C49A
accent
#A635F3
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84