Skip to content

#5f44f2

a balanced, electric blue · cool · closest name: Slate Blue

RGB
95, 68, 242
HSL
249°, 87%, 61%
CMYK
61, 72, 0, 5
Luminance
0.1298

At a glance

Every number on this page in one read: what #5f44f2 is made of, how bright it looks, and which way it leans.

Hex
#5f44f2
Hue
249°
blue
Saturation
87%
electric
Lightness
61%
balanced
Brightness
95%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1298
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.84:1
Closest name
Slate Blue
ΔE2000 7
Where it sits
Hue249° of 360°
Saturation87%
Lightness61%
Temperature
Warm ← → Cool78% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#5f44f2
RGBrgb(95, 68, 242)
HSLhsl(249, 87%, 61%)
CMYKcmyk(61%, 72%, 0%, 5%)
LABlab(42.7 57.6 -83.1)
LCHlch(42.7 101.1 304.7)
OKLCHoklch(0.531 0.244 281.2)
Decimal6243570
Display P3color(display-p3 0.373 0.267 0.949)

Copy-ready code

/* CSS */
color: #5f44f2;
background-color: #5f44f2;
/* Tailwind (arbitrary) */
class="text-[#5f44f2] bg-[#5f44f2]"
/* SCSS */
$brand: #5f44f2;
/* SwiftUI */
Color(red: 0.373, green: 0.267, blue: 0.949)
/* Android */
Color.parseColor("#5f44f2")
/* Flutter */
Color(0xFF5F44F2)
/* Python / OpenCV (BGR) */
(242, 68, 95)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #5f44f2 · 5.84:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.84:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.60:1
AA fail · AA large pass · AAA fail
Reading the other direction: #5f44f2 as text scores 5.84:1 on white and 3.60:1 on black.

Accessibility — WCAG contrast

Aa
#5f44f2 on white: 5.84:1
AA ✓ pass · AA-large · AAA
Aa
#5f44f2 on black: 3.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BF7
deuteranopia · #005EEF
tritanopia · #007497

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5f44f2 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.

#F4F2FD
#E8E5FA
#CCC4F7
#A596F8
#7862F4
#5f44f2
#3110E5
#290DBF
#210B99
#1B0C6E
#110845
Base = 500Lightest = 50 · #F4F2FDDarkest = 950 · #110845
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E5FA;
  --brand-200: #CCC4F7;
  --brand-300: #A596F8;
  --brand-400: #7862F4;
  --brand-500: #5f44f2;
  --brand-600: #3110E5;
  --brand-700: #290DBF;
  --brand-800: #210B99;
  --brand-900: #1B0C6E;
  --brand-950: #110845;
  --brand: #5f44f2;
  --brand-ink: #ffffff;
}

Colors that work with #5f44f2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5F4FA
Tinted page background
Border#C7C0ED
Hairlines and dividers
Muted text#574B9B
Captions on the surface
Accent#C3B109
Second voice, not a rival
Dark variant#190877
Hover, pressed, headers
Light variant#EBE7FD
Selected rows, tints
Dark surface#161424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #5f44f2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#D7F244
Analogous left#4480F2
Analogous right#B644F2
Split-complement 1#F2B644
Split-complement 2#80F244
Triadic 1#F25F44
Triadic 2#44F25F
Tetradic#F24480

RGB percentages

Red37.3%
Green26.7%
Blue94.9%

CMYK percentages

Cyan60.7%
Magenta71.9%
Yellow0.0%
Key (black)5.1%

Color previews

#5f44f2 text on a black background

contrast 3.60:1

Card sample

#5f44f2 text on a white background

contrast 5.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5f44f2;
Background color
Panel with #5f44f2 background
background-color: #5f44f2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5f44f2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(95, 68, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 68, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f44f2;
background: linear-gradient(135deg, #5f44f2, #D344F2);

Monochromatic scale

Palettes built from #5f44f2

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.

#5f44f2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#5f44f2, answered

What color is #5f44f2?

#5f44f2 is a balanced electric blue, closest to Slate Blue (ΔE2000 7). It sits at 249° on the hue wheel with 87% saturation and 61% lightness, which reads as cool.

What is the RGB value of #5f44f2?

rgb(95, 68, 242) — 95 red, 68 green and 242 blue out of 255, or 37.3% / 26.7% / 94.9% by channel.

Is #5f44f2 a light or a dark color?

It is a dark color. Relative luminance is 0.1298 and perceived brightness is 43%, so white text on it reaches 5.84:1.

Should I use black or white text on #5f44f2?

White. It scores 5.84:1 against #5f44f2, versus 3.60:1 for black — AA at any size.

What is the complementary color of #5f44f2?

#D7F244 sits directly opposite on the wheel. Softer options are the split-complements #F2B644 and #80F244, which give the same contrast with far less vibration.

What colors go well with #5f44f2?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #574B9B for secondary text, #C3B109 as an accent and #190877 for hover and pressed states. For a palette, the analogous pair #4480F2 and #B644F2 stays calm, while #D7F244 is the loudest partner.

What is #5f44f2 in CMYK for printing?

cmyk(61%, 72%, 0%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #5f44f2 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9F44F2; nudged cooler, #4264F4.

Work with #5f44f2 in the Color Lab