#3A7BDF#3A7BDF
#3A7BDF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.166 H 258.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7BDF |
|---|---|
| RGB | rgb(58, 123, 223) |
| HSL | hsl(216, 72%, 55%) |
| HSV | hsv(216, 74%, 87%) |
| CMYK | cmyk(74%, 44.8%, 0%, 12.5%) |
| CIE-LAB | lab(52.28, 13.36, -56.98) |
| CIE-LCH | lch(52.28, 58.53, 283.20°) |
| OKLab | oklab(59.27% -0.032 -0.1633) |
| OKLCH | oklch(59.27% 0.166 258.9) |
| XYZ | xyz(22.1423, 20.3907, 72.5666) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 2.98
Deep Sky Blue
#0D75F8
ΔE00 2.99
Azure
#007FFF
ΔE00 3.47
Lightish Blue
#3D7AFD
ΔE00 3.94
Windows Blue
#3778BF
ΔE00 4.12
Dodger Blue
#3E82FC
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7BDF #DF9E3A
analogous
#3ACDDF #3A7BDF #4C3ADF
triadic
#3A7BDF #DF3A7B #7BDF3A
tetradic
#3A7BDF #DF3ACD #DF9E3A #3ADF4C
square
#3A7BDF #DF3ACD #DF9E3A #3ADF4C
split-complementary
#3A7BDF #DF4C3A #CDDF3A
monochromatic
#164388 #1F5DBD #3A7BDF #6F9EE8 #A3C2F0
Accessibility & contrast
On white
4.13
#3A7BDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#3A7BDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A7BDF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7BDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A7BDF | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #3a7bdf; /* rgb */ color: rgb(58, 123, 223); /* oklch */ color: oklch(59.3% 0.166 258.9);
Tailwind
colors: {
custom: {
50: '#85a0e9',
500: '#3a7bdf',
950: '#000000',
},
}SCSS
$custom: #3a7bdf; $custom-light: #85a0e9; $custom-dark: #000000;
JSON
{
"hex": "#3a7bdf",
"rgb": {
"r": 58,
"g": 123,
"b": 223
},
"hsl": {
"h": 216.364,
"s": 72.052,
"l": 55.098
},
"oklch": {
"l": 0.59265,
"c": 0.1664,
"h": 258.9
},
"luminance": 0.20393
}Semantic roles & 50–950 ramp
primary
#3A7BDF
secondary
#DDC298
accent
#A739EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84