#3879df
a balanced, vivid blue · cool · closest name: Steel Blue
At a glance
Every number on this page in one read: what #3879df is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #3879df |
| RGB | rgb(56, 121, 223) |
| HSL | hsl(217, 72%, 55%) |
| CMYK | cmyk(75%, 46%, 0%, 13%) |
| LAB | lab(51.7 14.4 -58.0) |
| LCH | lch(51.7 59.7 283.9) |
| OKLCH | oklch(0.588 0.169 259.2) |
| Decimal | 3701215 |
| Display P3 | color(display-p3 0.220 0.475 0.875) |
Copy-ready code
/* CSS */
color: #3879df;
background-color: #3879df;
/* Tailwind (arbitrary) */
class="text-[#3879df] bg-[#3879df]"
/* SCSS */
$brand: #3879df;
/* SwiftUI */
Color(red: 0.220, green: 0.475, blue: 0.875)
/* Android */
Color.parseColor("#3879df")
/* Flutter */
Color(0xFF3879DF)
/* Python / OpenCV (BGR) */
(223, 121, 56)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #3879df is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F3F6FC;
--brand-100: #E7EEF8;
--brand-200: #C9D9F3;
--brand-300: #9EBEEF;
--brand-400: #6E9DE8;
--brand-500: #3879df;
--brand-600: #2267D3;
--brand-700: #1C56B0;
--brand-800: #17458D;
--brand-900: #143466;
--brand-950: #0D2140;
--brand: #3879df;
--brand-ink: #000000;
}Colors that work with #3879df
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #3879df
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #DF9E38 | Directly opposite — maximum tension | |
| Analogous left | #38CDDF | Neighbour, quieter | |
| Analogous right | #4A38DF | Neighbour, quieter | |
| Split-complement 1 | #DF4A38 | Contrast without the clash | |
| Split-complement 2 | #CDDF38 | Contrast without the clash | |
| Triadic 1 | #DF3879 | Even thirds — balanced and loud | |
| Triadic 2 | #79DF38 | Even thirds — balanced and loud | |
| Tetradic | #DF38CD | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#3879df text on a black background
contrast 4.97:1
#3879df text on a white background
contrast 4.23:1
CSS3 live lab
The quick brown fox
color: #3879df;
background-color: #3879df;
Glowing headline
text-shadow: 2px 2px 8px #3879df;
Soft neon halo
text-shadow: 0 0 14px rgba(56, 121, 223, 0.45);
box-shadow: 0 12px 32px -8px rgba(56, 121, 223, 0.45);
border: 3px solid #3879df; background: linear-gradient(135deg, #3879df, #6638DF);
Monochromatic scale
Palettes built from #3879df
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Azure (#007fff) — ΔE2000 3.9 away, with its history, psychology and brand usage.
#3879df in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#3879df, answered
What color is #3879df?
#3879df is a balanced vivid blue, closest to Steel Blue (ΔE2000 5.9). It sits at 217° on the hue wheel with 72% saturation and 55% lightness, which reads as cool.
What is the RGB value of #3879df?
rgb(56, 121, 223) — 56 red, 121 green and 223 blue out of 255, or 22% / 47.5% / 87.5% by channel.
Is #3879df a light or a dark color?
It is a mid-tone. Relative luminance is 0.1984 and perceived brightness is 48%, so black text on it reaches 4.97:1.
Should I use black or white text on #3879df?
Black. It scores 4.97:1 against #3879df, versus 4.23:1 for white — AA at any size.
What is the complementary color of #3879df?
#DF9E38 sits directly opposite on the wheel. Softer options are the split-complements #DF4A38 and #CDDF38, which give the same contrast with far less vibration.
What colors go well with #3879df?
For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B6A9B for secondary text, #B45018 as an accent and #12366E for hover and pressed states. For a palette, the analogous pair #38CDDF and #4A38DF stays calm, while #DF9E38 is the loudest partner.
What is #3879df in CMYK for printing?
cmyk(75%, 46%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #3879df warm or cool?
Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #383CDF; nudged cooler, #2172DD.