#4f4cdc
a balanced, vivid blue · cool · closest name: Slate Blue
At a glance
Every number on this page in one read: what #4f4cdc 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 | #4f4cdc |
| RGB | rgb(79, 76, 220) |
| HSL | hsl(241, 67%, 58%) |
| CMYK | cmyk(64%, 66%, 0%, 14%) |
| LAB | lab(41.2 44.3 -73.2) |
| LCH | lch(41.2 85.5 301.2) |
| OKLCH | oklch(0.512 0.212 276.7) |
| Decimal | 5197020 |
| Display P3 | color(display-p3 0.310 0.298 0.863) |
Copy-ready code
/* CSS */
color: #4f4cdc;
background-color: #4f4cdc;
/* Tailwind (arbitrary) */
class="text-[#4f4cdc] bg-[#4f4cdc]"
/* SCSS */
$brand: #4f4cdc;
/* SwiftUI */
Color(red: 0.310, green: 0.298, blue: 0.863)
/* Android */
Color.parseColor("#4f4cdc")
/* Flutter */
Color(0xFF4F4CDC)
/* Python / OpenCV (BGR) */
(220, 76, 79)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. #4f4cdc 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: #F3F3FB;
--brand-100: #E8E8F8;
--brand-200: #CBCAF1;
--brand-300: #A3A1ED;
--brand-400: #7472E3;
--brand-500: #4f4cdc;
--brand-600: #2B28CD;
--brand-700: #2421AB;
--brand-800: #1D1B89;
--brand-900: #191763;
--brand-950: #100F3E;
--brand: #4f4cdc;
--brand-ink: #ffffff;
}Colors that work with #4f4cdc
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 #4f4cdc
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #D9DC4C | Directly opposite — maximum tension | |
| Analogous left | #4C91DC | Neighbour, quieter | |
| Analogous right | #974CDC | Neighbour, quieter | |
| Split-complement 1 | #DC974C | Contrast without the clash | |
| Split-complement 2 | #91DC4C | Contrast without the clash | |
| Triadic 1 | #DC4F4C | Even thirds — balanced and loud | |
| Triadic 2 | #4CDC4F | Even thirds — balanced and loud | |
| Tetradic | #DC4C91 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#4f4cdc text on a black background
contrast 3.40:1
#4f4cdc text on a white background
contrast 6.18:1
CSS3 live lab
The quick brown fox
color: #4f4cdc;
background-color: #4f4cdc;
Glowing headline
text-shadow: 2px 2px 8px #4f4cdc;
Soft neon halo
text-shadow: 0 0 14px rgba(79, 76, 220, 0.45);
box-shadow: 0 12px 32px -8px rgba(79, 76, 220, 0.45);
border: 3px solid #4f4cdc; background: linear-gradient(135deg, #4f4cdc, #AF4CDC);
Monochromatic scale
Palettes built from #4f4cdc
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: Iris (#5a4fcf) — ΔE2000 2.2 away, with its history, psychology and brand usage.
#4f4cdc 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.
#4f4cdc, answered
What color is #4f4cdc?
#4f4cdc is a balanced vivid blue, closest to Slate Blue (ΔE2000 5.7). It sits at 241° on the hue wheel with 67% saturation and 58% lightness, which reads as cool.
What is the RGB value of #4f4cdc?
rgb(79, 76, 220) — 79 red, 76 green and 220 blue out of 255, or 31% / 29.8% / 86.3% by channel.
Is #4f4cdc a light or a dark color?
It is a dark color. Relative luminance is 0.1200 and perceived brightness is 41%, so white text on it reaches 6.18:1.
Should I use black or white text on #4f4cdc?
White. It scores 6.18:1 against #4f4cdc, versus 3.40:1 for black — AA at any size.
What is the complementary color of #4f4cdc?
#D9DC4C sits directly opposite on the wheel. Softer options are the split-complements #DC974C and #91DC4C, which give the same contrast with far less vibration.
What colors go well with #4f4cdc?
For interface work: #F4F4FA as the surface, #C1C0ED for borders, #4C4B9B for secondary text, #AE8D1E as an accent and #17156B for hover and pressed states. For a palette, the analogous pair #4C91DC and #974CDC stays calm, while #D9DC4C is the loudest partner.
What is #4f4cdc in CMYK for printing?
cmyk(64%, 66%, 0%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #4f4cdc warm or cool?
Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #844CDC; nudged cooler, #4A71DE.