#6c6ddf
a balanced, vivid blue · cool · closest name: Medium Slate Blue
At a glance
Every number on this page in one read: what #6c6ddf 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 | #6c6ddf |
| RGB | rgb(108, 109, 223) |
| HSL | hsl(240, 64%, 65%) |
| CMYK | cmyk(52%, 51%, 0%, 13%) |
| LAB | lab(51.2 30.5 -58.5) |
| LCH | lch(51.2 66.0 297.5) |
| OKLCH | oklch(0.592 0.169 279.5) |
| Decimal | 7106015 |
| Display P3 | color(display-p3 0.424 0.427 0.875) |
Copy-ready code
/* CSS */
color: #6c6ddf;
background-color: #6c6ddf;
/* Tailwind (arbitrary) */
class="text-[#6c6ddf] bg-[#6c6ddf]"
/* SCSS */
$brand: #6c6ddf;
/* SwiftUI */
Color(red: 0.424, green: 0.427, blue: 0.875)
/* Android */
Color.parseColor("#6c6ddf")
/* Flutter */
Color(0xFF6C6DDF)
/* Python / OpenCV (BGR) */
(223, 109, 108)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. #6c6ddf is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F4F4FB;
--brand-100: #E8E8F7;
--brand-200: #CBCBF1;
--brand-300: #A3A3EB;
--brand-400: #6c6ddf;
--brand-500: #4748D7;
--brand-600: #2C2DC9;
--brand-700: #2526A7;
--brand-800: #1D1E86;
--brand-900: #191A61;
--brand-950: #10103D;
--brand: #6c6ddf;
--brand-ink: #000000;
}Colors that work with #6c6ddf
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 #6c6ddf
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 | #DFDE6C | Directly opposite — maximum tension | |
| Analogous left | #6CA6DF | Neighbour, quieter | |
| Analogous right | #A56CDF | Neighbour, quieter | |
| Split-complement 1 | #DFA56C | Contrast without the clash | |
| Split-complement 2 | #A6DF6C | Contrast without the clash | |
| Triadic 1 | #DF6C6D | Even thirds — balanced and loud | |
| Triadic 2 | #6DDF6C | Even thirds — balanced and loud | |
| Tetradic | #DF6CA6 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#6c6ddf text on a black background
contrast 4.89:1
#6c6ddf text on a white background
contrast 4.29:1
CSS3 live lab
The quick brown fox
color: #6c6ddf;
background-color: #6c6ddf;
Glowing headline
text-shadow: 2px 2px 8px #6c6ddf;
Soft neon halo
text-shadow: 0 0 14px rgba(108, 109, 223, 0.45);
box-shadow: 0 12px 32px -8px rgba(108, 109, 223, 0.45);
border: 3px solid #6c6ddf; background: linear-gradient(135deg, #6c6ddf, #B86CDF);
Monochromatic scale
Palettes built from #6c6ddf
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: Royal Blue (#4169e1) — ΔE2000 6.4 away, with its history, psychology and brand usage.
#6c6ddf 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.
#6c6ddf, answered
What color is #6c6ddf?
#6c6ddf is a balanced vivid blue, closest to Medium Slate Blue (ΔE2000 3.9). It sits at 240° on the hue wheel with 64% saturation and 65% lightness, which reads as cool.
What is the RGB value of #6c6ddf?
rgb(108, 109, 223) — 108 red, 109 green and 223 blue out of 255, or 42.4% / 42.7% / 87.5% by channel.
Is #6c6ddf a light or a dark color?
It is a mid-tone. Relative luminance is 0.1945 and perceived brightness is 50%, so black text on it reaches 4.89:1.
Should I use black or white text on #6c6ddf?
Black. It scores 4.89:1 against #6c6ddf, versus 4.29:1 for white — AA at any size.
What is the complementary color of #6c6ddf?
#DFDE6C sits directly opposite on the wheel. Softer options are the split-complements #DFA56C and #A6DF6C, which give the same contrast with far less vibration.
What colors go well with #6c6ddf?
For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4B4B9B for secondary text, #AC8820 as an accent and #171869 for hover and pressed states. For a palette, the analogous pair #6CA6DF and #A56CDF stays calm, while #DFDE6C is the loudest partner.
What is #6c6ddf in CMYK for printing?
cmyk(52%, 51%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #6c6ddf warm or cool?
Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #956CDF; nudged cooler, #6A8EE1.