#565ccc
a balanced, vivid blue · cool · closest name: Slate Blue
At a glance
Every number on this page in one read: what #565ccc 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 | #565ccc |
| RGB | rgb(86, 92, 204) |
| HSL | hsl(237, 54%, 57%) |
| CMYK | cmyk(58%, 55%, 0%, 20%) |
| LAB | lab(44.2 30.5 -59.1) |
| LCH | lch(44.2 66.5 297.3) |
| OKLCH | oklch(0.531 0.171 276.6) |
| Decimal | 5659852 |
| Display P3 | color(display-p3 0.337 0.361 0.800) |
Copy-ready code
/* CSS */
color: #565ccc;
background-color: #565ccc;
/* Tailwind (arbitrary) */
class="text-[#565ccc] bg-[#565ccc]"
/* SCSS */
$brand: #565ccc;
/* SwiftUI */
Color(red: 0.337, green: 0.361, blue: 0.800)
/* Android */
Color.parseColor("#565ccc")
/* Flutter */
Color(0xFF565CCC)
/* Python / OpenCV (BGR) */
(204, 92, 86)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. #565ccc 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: #F4F4FB;
--brand-100: #E9EAF6;
--brand-200: #CED0ED;
--brand-300: #A9ACE5;
--brand-400: #7E82D8;
--brand-500: #565ccc;
--brand-600: #3940BC;
--brand-700: #2F359D;
--brand-800: #262A7D;
--brand-900: #1F225B;
--brand-950: #131539;
--brand: #565ccc;
--brand-ink: #ffffff;
}Colors that work with #565ccc
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 #565ccc
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 | #CCC656 | Directly opposite — maximum tension | |
| Analogous left | #5697CC | Neighbour, quieter | |
| Analogous right | #8B56CC | Neighbour, quieter | |
| Split-complement 1 | #CC8B56 | Contrast without the clash | |
| Split-complement 2 | #97CC56 | Contrast without the clash | |
| Triadic 1 | #CC565C | Even thirds — balanced and loud | |
| Triadic 2 | #5CCC56 | Even thirds — balanced and loud | |
| Tetradic | #CC5697 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#565ccc text on a black background
contrast 3.80:1
#565ccc text on a white background
contrast 5.53:1
CSS3 live lab
The quick brown fox
color: #565ccc;
background-color: #565ccc;
Glowing headline
text-shadow: 2px 2px 8px #565ccc;
Soft neon halo
text-shadow: 0 0 14px rgba(86, 92, 204, 0.45);
box-shadow: 0 12px 32px -8px rgba(86, 92, 204, 0.45);
border: 3px solid #565ccc; background: linear-gradient(135deg, #565ccc, #9F56CC);
Monochromatic scale
Palettes built from #565ccc
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 4.2 away, with its history, psychology and brand usage.
#565ccc 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.
#565ccc, answered
What color is #565ccc?
#565ccc is a balanced vivid blue, closest to Slate Blue (ΔE2000 3.8). It sits at 237° on the hue wheel with 54% saturation and 57% lightness, which reads as cool.
What is the RGB value of #565ccc?
rgb(86, 92, 204) — 86 red, 92 green and 204 blue out of 255, or 33.7% / 36.1% / 80% by channel.
Is #565ccc a light or a dark color?
It is a dark color. Relative luminance is 0.1399 and perceived brightness is 43%, so white text on it reaches 5.53:1.
Should I use black or white text on #565ccc?
White. It scores 5.53:1 against #565ccc, versus 3.80:1 for black — AA at any size.
What is the complementary color of #565ccc?
#CCC656 sits directly opposite on the wheel. Softer options are the split-complements #CC8B56 and #97CC56, which give the same contrast with far less vibration.
What colors go well with #565ccc?
For interface work: #F4F5FA as the surface, #C0C3EC for borders, #4B4F9B for secondary text, #A07D2C as an accent and #1E2162 for hover and pressed states. For a palette, the analogous pair #5697CC and #8B56CC stays calm, while #CCC656 is the loudest partner.
What is #565ccc in CMYK for printing?
cmyk(58%, 55%, 0%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #565ccc warm or cool?
Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B56CC; nudged cooler, #547ACE.