Toolman

#5865F2 color

#5865F2#5865F2

#5865F2 is a light, vivid blue, closest to the CSS named color royalblue (#4169E1).

Color values

HEX#5865F2
RGBrgb(88, 101, 242)
HSLhsl(235, 86%, 65%)
CMYKcmyk(64%, 58%, 0%, 5%)
Decimal5793266
CSScolor: #5865F2;
Android0xFF5865F2
SwiftUIColor(red: 0.345, green: 0.396, blue: 0.949, alpha: 1)

Accessibility and contrast

White text on #5865F24.61:1 — AA pass · AA large pass · AAA fail
Black text on #5865F24.56:1 — AA pass · AA large pass · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #5865F2

Each swatch keeps the hue and saturation of #5865F2 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #5865F2

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #5865F2 in code

/* CSS */
.element { color: #5865F2; background-color: #5865F2; }
.element { color: rgb(88 101 242); }
.element { color: hsl(235 86% 65%); }

/* Tailwind arbitrary value */
<div class="bg-[#5865F2] text-white">

/* SCSS variable */
$brand: #5865F2;

Frequently asked questions

What color is #5865F2?

#5865F2 is a light, vivid blue. Its hue sits at 235° on the color wheel, with 86% saturation and 65% lightness.

What is #5865F2 in RGB?

#5865F2 converts to rgb(88, 101, 242) — 88 red, 101 green and 242 blue.

What is #5865F2 in CMYK?

Approximately cmyk(64%, 58%, 0%, 5%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #5865F2 be white or black?

White gives the better contrast ratio (4.61:1 versus 4.56:1).

What is the complementary color of #5865F2?

#F3E659 — the hue directly opposite #5865F2 on the color wheel.

Convert any color → · Browse all colors