Skip to content

#587afd

a light, electric blue · cool · closest name: Royal Blue

RGB
88, 122, 253
HSL
228°, 98%, 67%
CMYK
65, 52, 0, 1
Luminance
0.2309

At a glance

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

Hex
#587afd
Hue
228°
blue
Saturation
98%
electric
Lightness
67%
light
Brightness
99%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2309
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.62:1
Closest name
Royal Blue
ΔE2000 7.3
Where it sits
Hue228° of 360°
Saturation98%
Lightness67%
Temperature
Warm ← → Cool90% 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#587afd
RGBrgb(88, 122, 253)
HSLhsl(228, 98%, 67%)
CMYKcmyk(65%, 52%, 0%, 1%)
LABlab(55.2 28.8 -69.0)
LCHlch(55.2 74.7 292.6)
OKLCHoklch(0.624 0.198 269.0)
Decimal5798653
Display P3color(display-p3 0.345 0.478 0.992)

Copy-ready code

/* CSS */
color: #587afd;
background-color: #587afd;
/* Tailwind (arbitrary) */
class="text-[#587afd] bg-[#587afd]"
/* SCSS */
$brand: #587afd;
/* SwiftUI */
Color(red: 0.345, green: 0.478, blue: 0.992)
/* Android */
Color.parseColor("#587afd")
/* Flutter */
Color(0xFF587AFD)
/* Python / OpenCV (BGR) */
(253, 122, 88)

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

Accessibility — WCAG contrast

Aa
#587afd on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#587afd on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #258CFF
deuteranopia · #007DFA
tritanopia · #0099B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #587afd is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F4FD
#E4E9FC
#C1CDFB
#90A7FE
#587afd
#214FFC
#0334F2
#022CCA
#0223A1
#061D74
#041249
Base = 400Lightest = 50 · #F1F4FDDarkest = 950 · #041249
:root {
  --brand-50: #F1F4FD;
  --brand-100: #E4E9FC;
  --brand-200: #C1CDFB;
  --brand-300: #90A7FE;
  --brand-400: #587afd;
  --brand-500: #214FFC;
  --brand-600: #0334F2;
  --brand-700: #022CCA;
  --brand-800: #0223A1;
  --brand-900: #061D74;
  --brand-950: #041249;
  --brand: #587afd;
  --brand-ink: #000000;
}

Colors that work with #587afd

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

Text on it#000000
Black wins here
Surface#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#CC6F00
Second voice, not a rival
Dark variant#021B7E
Hover, pressed, headers
Light variant#E6EBFF
Selected rows, tints
Dark surface#141724
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 #587afd

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#FDDB58
Analogous left#58CDFD
Analogous right#8958FD
Split-complement 1#FD8958
Split-complement 2#CDFD58
Triadic 1#FD587A
Triadic 2#7AFD58
Tetradic#FD58CD

RGB percentages

Red34.5%
Green47.8%
Blue99.2%

CMYK percentages

Cyan65.2%
Magenta51.8%
Yellow0.0%
Key (black)0.8%

Color previews

#587afd text on a black background

contrast 5.62:1

Card sample

#587afd text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #587afd;
Background color
Panel with #587afd background
background-color: #587afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #587afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(88, 122, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(88, 122, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #587afd;
background: linear-gradient(135deg, #587afd, #A458FD);

Monochromatic scale

Palettes built from #587afd

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.

#587afd 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#587afd, answered

What color is #587afd?

#587afd is a light electric blue, closest to Royal Blue (ΔE2000 7.3). It sits at 228° on the hue wheel with 98% saturation and 67% lightness, which reads as cool.

What is the RGB value of #587afd?

rgb(88, 122, 253) — 88 red, 122 green and 253 blue out of 255, or 34.5% / 47.8% / 99.2% by channel.

Is #587afd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2309 and perceived brightness is 53%, so black text on it reaches 5.62:1.

Should I use black or white text on #587afd?

Black. It scores 5.62:1 against #587afd, versus 3.74:1 for white — AA at any size.

What is the complementary color of #587afd?

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

What colors go well with #587afd?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #CC6F00 as an accent and #021B7E for hover and pressed states. For a palette, the analogous pair #58CDFD and #8958FD stays calm, while #FDDB58 is the loudest partner.

What is #587afd in CMYK for printing?

cmyk(65%, 52%, 0%, 1%). 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 #587afd warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7358FD; nudged cooler, #5791FF.

Work with #587afd in the Color Lab