Skip to content

#552cfb

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

RGB
85, 44, 251
HSL
252°, 96%, 58%
CMYK
66, 83, 0, 2
Luminance
0.1070

At a glance

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

Hex
#552cfb
Hue
252°
blue
Saturation
96%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1070
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.69:1
Closest name
Blue
ΔE2000 6.2
Where it sits
Hue252° of 360°
Saturation96%
Lightness58%
Temperature
Warm ← → Cool77% 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#552cfb
RGBrgb(85, 44, 251)
HSLhsl(252, 96%, 58%)
CMYKcmyk(66%, 83%, 0%, 2%)
LABlab(39.1 69.9 -94.2)
LCHlch(39.1 117.3 306.6)
OKLCHoklch(0.506 0.276 279.1)
Decimal5582075
Display P3color(display-p3 0.333 0.173 0.984)

Copy-ready code

/* CSS */
color: #552cfb;
background-color: #552cfb;
/* Tailwind (arbitrary) */
class="text-[#552cfb] bg-[#552cfb]"
/* SCSS */
$brand: #552cfb;
/* SwiftUI */
Color(red: 0.333, green: 0.173, blue: 0.984)
/* Android */
Color.parseColor("#552cfb")
/* Flutter */
Color(0xFF552CFB)
/* Python / OpenCV (BGR) */
(251, 44, 85)

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 #552cfb · 6.69:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.69:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.14:1
AA fail · AA large pass · AAA fail
Reading the other direction: #552cfb as text scores 6.69:1 on white and 3.14:1 on black.

Accessibility — WCAG contrast

Aa
#552cfb on white: 6.69:1
AA ✓ pass · AA-large · AAA
Aa
#552cfb on black: 3.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063FF
deuteranopia · #0054F8
tritanopia · #006F97

Color scale — 50 to 950

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

#F4F1FD
#E8E4FC
#CDC1FA
#A691FD
#7A5AFC
#552cfb
#3305F0
#2B04C8
#2203A0
#1C0773
#120448
Base = 500Lightest = 50 · #F4F1FDDarkest = 950 · #120448
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E8E4FC;
  --brand-200: #CDC1FA;
  --brand-300: #A691FD;
  --brand-400: #7A5AFC;
  --brand-500: #552cfb;
  --brand-600: #3305F0;
  --brand-700: #2B04C8;
  --brand-800: #2203A0;
  --brand-900: #1C0773;
  --brand-950: #120448;
  --brand: #552cfb;
  --brand-ink: #ffffff;
}

Colors that work with #552cfb

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#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#CCC100
Second voice, not a rival
Dark variant#1B027D
Hover, pressed, headers
Light variant#EBE6FF
Selected rows, tints
Dark surface#171424
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 #552cfb

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#D2FB2C
Analogous left#2C6AFB
Analogous right#BC2CFB
Split-complement 1#FBBC2C
Split-complement 2#6AFB2C
Triadic 1#FB552C
Triadic 2#2CFB55
Tetradic#FB2C6A

RGB percentages

Red33.3%
Green17.3%
Blue98.4%

CMYK percentages

Cyan66.1%
Magenta82.5%
Yellow0.0%
Key (black)1.6%

Color previews

#552cfb text on a black background

contrast 3.14:1

Card sample

#552cfb text on a white background

contrast 6.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #552cfb;
Background color
Panel with #552cfb background
background-color: #552cfb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #552cfb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(85, 44, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(85, 44, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #552cfb;
background: linear-gradient(135deg, #552cfb, #DF2CFB);

Monochromatic scale

Palettes built from #552cfb

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.

#552cfb 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.

#552cfb, answered

What color is #552cfb?

#552cfb is a balanced electric blue, closest to Blue (ΔE2000 6.2). It sits at 252° on the hue wheel with 96% saturation and 58% lightness, which reads as cool.

What is the RGB value of #552cfb?

rgb(85, 44, 251) — 85 red, 44 green and 251 blue out of 255, or 33.3% / 17.3% / 98.4% by channel.

Is #552cfb a light or a dark color?

It is a dark color. Relative luminance is 0.1070 and perceived brightness is 40%, so white text on it reaches 6.69:1.

Should I use black or white text on #552cfb?

White. It scores 6.69:1 against #552cfb, versus 3.14:1 for black — AA at any size.

What is the complementary color of #552cfb?

#D2FB2C sits directly opposite on the wheel. Softer options are the split-complements #FBBC2C and #6AFB2C, which give the same contrast with far less vibration.

What colors go well with #552cfb?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5B4B9B for secondary text, #CCC100 as an accent and #1B027D for hover and pressed states. For a palette, the analogous pair #2C6AFB and #BC2CFB stays calm, while #D2FB2C is the loudest partner.

What is #552cfb in CMYK for printing?

cmyk(66%, 83%, 0%, 2%). 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 #552cfb warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A12CFB; nudged cooler, #2A47FD.

Work with #552cfb in the Color Lab