Skip to content

#552aeb

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

RGB
85, 42, 235
HSL
253°, 83%, 54%
CMYK
64, 82, 0, 8
Luminance
0.0959

At a glance

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

Hex
#552aeb
Hue
253°
blue
Saturation
83%
electric
Lightness
54%
balanced
Brightness
92%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0959
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.20:1
Closest name
Blue
ΔE2000 5.4
Where it sits
Hue253° of 360°
Saturation83%
Lightness54%
Temperature
Warm ← → Cool76% 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#552aeb
RGBrgb(85, 42, 235)
HSLhsl(253, 83%, 54%)
CMYKcmyk(64%, 82%, 0%, 8%)
LABlab(37.1 66.4 -88.5)
LCHlch(37.1 110.6 306.9)
OKLCHoklch(0.488 0.260 281.0)
Decimal5581547
Display P3color(display-p3 0.333 0.165 0.922)

Copy-ready code

/* CSS */
color: #552aeb;
background-color: #552aeb;
/* Tailwind (arbitrary) */
class="text-[#552aeb] bg-[#552aeb]"
/* SCSS */
$brand: #552aeb;
/* SwiftUI */
Color(red: 0.333, green: 0.165, blue: 0.922)
/* Android */
Color.parseColor("#552aeb")
/* Flutter */
Color(0xFF552AEB)
/* Python / OpenCV (BGR) */
(235, 42, 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 #552aeb · 7.20:1
Use #ffffffAAA at every size.
Aa
White text · 7.20:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.92:1
AA fail · AA large fail · AAA fail
Reading the other direction: #552aeb as text scores 7.20:1 on white and 2.92:1 on black.

Accessibility — WCAG contrast

Aa
#552aeb on white: 7.20:1
AA ✓ pass · AA-large · AAA
Aa
#552aeb on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EF0
deuteranopia · #0050E8
tritanopia · #00688E

Color scale — 50 to 950

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

#F5F2FC
#EAE6FA
#D0C6F6
#AD98F5
#8465F1
#552aeb
#4215E0
#3712BA
#2C0E95
#230F6C
#160943
Base = 500Lightest = 50 · #F5F2FCDarkest = 950 · #160943
:root {
  --brand-50: #F5F2FC;
  --brand-100: #EAE6FA;
  --brand-200: #D0C6F6;
  --brand-300: #AD98F5;
  --brand-400: #8465F1;
  --brand-500: #552aeb;
  --brand-600: #4215E0;
  --brand-700: #3712BA;
  --brand-800: #2C0E95;
  --brand-900: #230F6C;
  --brand-950: #160943;
  --brand: #552aeb;
  --brand-ink: #ffffff;
}

Colors that work with #552aeb

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#CAC0ED
Hairlines and dividers
Muted text#5D4B9B
Captions on the surface
Accent#BFBA0D
Second voice, not a rival
Dark variant#230B75
Hover, pressed, headers
Light variant#ECE8FD
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 #552aeb

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
  • Text on black or near-black surfaces
  • 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#C0EB2A
Analogous left#2A5FEB
Analogous right#B62AEB
Split-complement 1#EBB62A
Split-complement 2#5FEB2A
Triadic 1#EB552A
Triadic 2#2AEB55
Tetradic#EB2A5F

RGB percentages

Red33.3%
Green16.5%
Blue92.2%

CMYK percentages

Cyan63.8%
Magenta82.1%
Yellow0.0%
Key (black)7.8%

Color previews

#552aeb text on a black background

contrast 2.92:1

Card sample

#552aeb text on a white background

contrast 7.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #552aeb

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.

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

#552aeb, answered

What color is #552aeb?

#552aeb is a balanced electric blue, closest to Blue (ΔE2000 5.4). It sits at 253° on the hue wheel with 83% saturation and 54% lightness, which reads as cool.

What is the RGB value of #552aeb?

rgb(85, 42, 235) — 85 red, 42 green and 235 blue out of 255, or 33.3% / 16.5% / 92.2% by channel.

Is #552aeb a light or a dark color?

It is a dark color. Relative luminance is 0.0959 and perceived brightness is 38%, so white text on it reaches 7.20:1.

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

White. It scores 7.20:1 against #552aeb, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #552aeb?

#C0EB2A sits directly opposite on the wheel. Softer options are the split-complements #EBB62A and #5FEB2A, which give the same contrast with far less vibration.

What colors go well with #552aeb?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5D4B9B for secondary text, #BFBA0D as an accent and #230B75 for hover and pressed states. For a palette, the analogous pair #2A5FEB and #B62AEB stays calm, while #C0EB2A is the loudest partner.

What is #552aeb in CMYK for printing?

cmyk(64%, 82%, 0%, 8%). 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 #552aeb warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9C2AEB; nudged cooler, #2843ED.

Work with #552aeb in the Color Lab