#3A78D9#3A78D9
#3A78D9 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.162 H 259.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3A78D9 |
|---|---|
| RGB | rgb(58, 120, 217) |
| HSL | hsl(217, 68%, 54%) |
| HSV | hsv(217, 73%, 85%) |
| CMYK | cmyk(73.3%, 44.7%, 0%, 14.9%) |
| CIE-LAB | lab(51.08, 13.03, -55.51) |
| CIE-LCH | lch(51.08, 57.02, 283.21°) |
| OKLab | oklab(58.23% -0.0305 -0.159) |
| OKLCH | oklch(58.23% 0.162 259.1) |
| XYZ | xyz(20.9812, 19.3399, 68.2594) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Deep Sky Blue
#0D75F8
ΔE00 3.08
Windows Blue
#3778BF
ΔE00 3.47
Clear Blue
#247AFD
ΔE00 3.74
Cerulean Blue
#056EEE
ΔE00 3.87
Azure
#007FFF
ΔE00 4.56
Lightish Blue
#3D7AFD
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A78D9 #D99B3A
analogous
#3AC8D9 #3A78D9 #4C3AD9
triadic
#3A78D9 #D93A78 #78D93A
tetradic
#3A78D9 #D93AC8 #D99B3A #3AD94C
square
#3A78D9 #D93AC8 #D99B3A #3AD94C
split-complementary
#3A78D9 #D94C3A #C8D93A
monochromatic
#194180 #235BB3 #3A78D9 #6D9BE3 #A1BEED
Accessibility & contrast
On white
4.31
#3A78D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#3A78D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A78D9
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A78D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A78D9 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4681DD
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #3a78d9; /* rgb */ color: rgb(58, 120, 217); /* oklch */ color: oklch(58.2% 0.162 259.1);
Tailwind
colors: {
custom: {
50: '#849ee5',
500: '#3a78d9',
950: '#000000',
},
}SCSS
$custom: #3a78d9; $custom-light: #849ee5; $custom-dark: #000000;
JSON
{
"hex": "#3a78d9",
"rgb": {
"r": 58,
"g": 120,
"b": 217
},
"hsl": {
"h": 216.604,
"s": 67.66,
"l": 53.922
},
"oklch": {
"l": 0.58227,
"c": 0.16193,
"h": 259.1
},
"luminance": 0.19342
}Semantic roles & 50–950 ramp
primary
#3A78D9
secondary
#D9BF95
accent
#A73DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84