Skip to content

#5259e5

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

RGB
82, 89, 229
HSL
237°, 74%, 61%
CMYK
64, 61, 0, 10
Luminance
0.1460

At a glance

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

Hex
#5259e5
Hue
237°
blue
Saturation
74%
vivid
Lightness
61%
balanced
Brightness
90%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1460
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.36:1
Closest name
Slate Blue
ΔE2000 4.8
Where it sits
Hue237° of 360°
Saturation74%
Lightness61%
Temperature
Warm ← → Cool85% 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#5259e5
RGBrgb(82, 89, 229)
HSLhsl(237, 74%, 61%)
CMYKcmyk(64%, 61%, 0%, 10%)
LABlab(45.1 39.9 -72.0)
LCHlch(45.1 82.3 299.0)
OKLCHoklch(0.543 0.208 274.9)
Decimal5396965
Display P3color(display-p3 0.322 0.349 0.898)

Copy-ready code

/* CSS */
color: #5259e5;
background-color: #5259e5;
/* Tailwind (arbitrary) */
class="text-[#5259e5] bg-[#5259e5]"
/* SCSS */
$brand: #5259e5;
/* SwiftUI */
Color(red: 0.322, green: 0.349, blue: 0.898)
/* Android */
Color.parseColor("#5259e5")
/* Flutter */
Color(0xFF5259E5)
/* Python / OpenCV (BGR) */
(229, 89, 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 #5259e5 · 5.36:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.36:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.92:1
AA fail · AA large pass · AAA fail
Reading the other direction: #5259e5 as text scores 5.36:1 on white and 3.92:1 on black.

Accessibility — WCAG contrast

Aa
#5259e5 on white: 5.36:1
AA ✓ pass · AA-large · AAA
Aa
#5259e5 on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0071EA
deuteranopia · #0064E2
tritanopia · #007C97

Color scale — 50 to 950

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

#F3F3FC
#E7E8F9
#C8CAF3
#9DA1F0
#6D73E9
#5259e5
#2029D5
#1B22B1
#151B8E
#141867
#0C0F40
Base = 500Lightest = 50 · #F3F3FCDarkest = 950 · #0C0F40
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E7E8F9;
  --brand-200: #C8CAF3;
  --brand-300: #9DA1F0;
  --brand-400: #6D73E9;
  --brand-500: #5259e5;
  --brand-600: #2029D5;
  --brand-700: #1B22B1;
  --brand-800: #151B8E;
  --brand-900: #141867;
  --brand-950: #0C0F40;
  --brand: #5259e5;
  --brand-ink: #ffffff;
}

Colors that work with #5259e5

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#F4F5FA
Tinted page background
Border#C0C2ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#B58617
Second voice, not a rival
Dark variant#11156F
Hover, pressed, headers
Light variant#E9EAFC
Selected rows, tints
Dark surface#141424
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 #5259e5

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#E5DE52
Analogous left#52A3E5
Analogous right#9452E5
Split-complement 1#E59452
Split-complement 2#A3E552
Triadic 1#E55259
Triadic 2#59E552
Tetradic#E552A3

RGB percentages

Red32.2%
Green34.9%
Blue89.8%

CMYK percentages

Cyan64.2%
Magenta61.1%
Yellow0.0%
Key (black)10.2%

Color previews

#5259e5 text on a black background

contrast 3.92:1

Card sample

#5259e5 text on a white background

contrast 5.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5259e5;
Background color
Panel with #5259e5 background
background-color: #5259e5;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5259e5;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(82, 89, 229, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 89, 229, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5259e5;
background: linear-gradient(135deg, #5259e5, #AD52E5);

Monochromatic scale

Palettes built from #5259e5

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.

#5259e5 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

Converts to four-color process without much drama. Proof it anyway.

#5259e5, answered

What color is #5259e5?

#5259e5 is a balanced vivid blue, closest to Slate Blue (ΔE2000 4.8). It sits at 237° on the hue wheel with 74% saturation and 61% lightness, which reads as cool.

What is the RGB value of #5259e5?

rgb(82, 89, 229) — 82 red, 89 green and 229 blue out of 255, or 32.2% / 34.9% / 89.8% by channel.

Is #5259e5 a light or a dark color?

It is a dark color. Relative luminance is 0.1460 and perceived brightness is 44%, so white text on it reaches 5.36:1.

Should I use black or white text on #5259e5?

White. It scores 5.36:1 against #5259e5, versus 3.92:1 for black — AA at any size.

What is the complementary color of #5259e5?

#E5DE52 sits directly opposite on the wheel. Softer options are the split-complements #E59452 and #A3E552, which give the same contrast with far less vibration.

What colors go well with #5259e5?

For interface work: #F4F5FA as the surface, #C0C2ED for borders, #4B4E9B for secondary text, #B58617 as an accent and #11156F for hover and pressed states. For a palette, the analogous pair #52A3E5 and #9452E5 stays calm, while #E5DE52 is the loudest partner.

What is #5259e5 in CMYK for printing?

cmyk(64%, 61%, 0%, 10%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #5259e5 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8152E5; nudged cooler, #507CE7.

Work with #5259e5 in the Color Lab