Skip to content

#523df4

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

RGB
82, 61, 244
HSL
247°, 89%, 60%
CMYK
66, 75, 0, 4
Luminance
0.1166

At a glance

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

Hex
#523df4
Hue
247°
blue
Saturation
89%
electric
Lightness
60%
balanced
Brightness
96%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1166
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.30:1
Closest name
Blue Violet
ΔE2000 7.9
Where it sits
Hue247° of 360°
Saturation89%
Lightness60%
Temperature
Warm ← → Cool80% 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#523df4
RGBrgb(82, 61, 244)
HSLhsl(247, 89%, 60%)
CMYKcmyk(66%, 75%, 0%, 4%)
LABlab(40.7 60.2 -87.7)
LCHlch(40.7 106.4 304.5)
OKLCHoklch(0.515 0.256 277.7)
Decimal5389812
Display P3color(display-p3 0.322 0.239 0.957)

Copy-ready code

/* CSS */
color: #523df4;
background-color: #523df4;
/* Tailwind (arbitrary) */
class="text-[#523df4] bg-[#523df4]"
/* SCSS */
$brand: #523df4;
/* SwiftUI */
Color(red: 0.322, green: 0.239, blue: 0.957)
/* Android */
Color.parseColor("#523df4")
/* Flutter */
Color(0xFF523DF4)
/* Python / OpenCV (BGR) */
(244, 61, 82)

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

Accessibility — WCAG contrast

Aa
#523df4 on white: 6.30:1
AA ✓ pass · AA-large · AAA
Aa
#523df4 on black: 3.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067F9
deuteranopia · #0058F1
tritanopia · #007397

Color scale — 50 to 950

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

#F3F2FD
#E7E5FB
#CAC4F8
#A095F9
#7160F6
#523df4
#260DE8
#200BC1
#19099A
#160B6F
#0E0746
Base = 500Lightest = 50 · #F3F2FDDarkest = 950 · #0E0746
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E7E5FB;
  --brand-200: #CAC4F8;
  --brand-300: #A095F9;
  --brand-400: #7160F6;
  --brand-500: #523df4;
  --brand-600: #260DE8;
  --brand-700: #200BC1;
  --brand-800: #19099A;
  --brand-900: #160B6F;
  --brand-950: #0E0746;
  --brand: #523df4;
  --brand-ink: #ffffff;
}

Colors that work with #523df4

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#C5C0ED
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#C5AB07
Second voice, not a rival
Dark variant#140779
Hover, pressed, headers
Light variant#E9E7FE
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 #523df4

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#DFF43D
Analogous left#3D83F4
Analogous right#AE3DF4
Split-complement 1#F4AE3D
Split-complement 2#83F43D
Triadic 1#F4523D
Triadic 2#3DF452
Tetradic#F43D83

RGB percentages

Red32.2%
Green23.9%
Blue95.7%

CMYK percentages

Cyan66.4%
Magenta75.0%
Yellow0.0%
Key (black)4.3%

Color previews

#523df4 text on a black background

contrast 3.33:1

Card sample

#523df4 text on a white background

contrast 6.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #523df4;
Background color
Panel with #523df4 background
background-color: #523df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #523df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(82, 61, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 61, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #523df4;
background: linear-gradient(135deg, #523df4, #CC3DF4);

Monochromatic scale

Palettes built from #523df4

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.

#523df4 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.

#523df4, answered

What color is #523df4?

#523df4 is a balanced electric blue, closest to Blue Violet (ΔE2000 7.9). It sits at 247° on the hue wheel with 89% saturation and 60% lightness, which reads as cool.

What is the RGB value of #523df4?

rgb(82, 61, 244) — 82 red, 61 green and 244 blue out of 255, or 32.2% / 23.9% / 95.7% by channel.

Is #523df4 a light or a dark color?

It is a dark color. Relative luminance is 0.1166 and perceived brightness is 41%, so white text on it reaches 6.30:1.

Should I use black or white text on #523df4?

White. It scores 6.30:1 against #523df4, versus 3.33:1 for black — AA at any size.

What is the complementary color of #523df4?

#DFF43D sits directly opposite on the wheel. Softer options are the split-complements #F4AE3D and #83F43D, which give the same contrast with far less vibration.

What colors go well with #523df4?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #C5AB07 as an accent and #140779 for hover and pressed states. For a palette, the analogous pair #3D83F4 and #AE3DF4 stays calm, while #DFF43D is the loudest partner.

What is #523df4 in CMYK for printing?

cmyk(66%, 75%, 0%, 4%). 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 #523df4 warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #953DF4; nudged cooler, #3B60F6.

Work with #523df4 in the Color Lab