Skip to content

#596dfc

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

RGB
89, 109, 252
HSL
233°, 96%, 67%
CMYK
65, 57, 0, 1
Luminance
0.2009

At a glance

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

Hex
#596dfc
Hue
233°
blue
Saturation
96%
electric
Lightness
67%
light
Brightness
99%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2009
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.02:1
Closest name
Royal Blue
ΔE2000 5.4
Where it sits
Hue233° of 360°
Saturation96%
Lightness67%
Temperature
Warm ← → Cool87% 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#596dfc
RGBrgb(89, 109, 252)
HSLhsl(233, 96%, 67%)
CMYKcmyk(65%, 57%, 0%, 1%)
LABlab(51.9 36.5 -73.7)
LCHlch(51.9 82.2 296.3)
OKLCHoklch(0.600 0.212 272.3)
Decimal5860860
Display P3color(display-p3 0.349 0.427 0.988)

Copy-ready code

/* CSS */
color: #596dfc;
background-color: #596dfc;
/* Tailwind (arbitrary) */
class="text-[#596dfc] bg-[#596dfc]"
/* SCSS */
$brand: #596dfc;
/* SwiftUI */
Color(red: 0.349, green: 0.427, blue: 0.988)
/* Android */
Color.parseColor("#596dfc")
/* Flutter */
Color(0xFF596DFC)
/* Python / OpenCV (BGR) */
(252, 109, 89)

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

Accessibility — WCAG contrast

Aa
#596dfc on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#596dfc on black: 5.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0083FF
deuteranopia · #0075F9
tritanopia · #0090AA

Color scale — 50 to 950

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

#F1F3FD
#E4E7FC
#C1C8FA
#919EFD
#596dfc
#233DFB
#0422F0
#041CC8
#0316A0
#071473
#040D48
Base = 400Lightest = 50 · #F1F3FDDarkest = 950 · #040D48
:root {
  --brand-50: #F1F3FD;
  --brand-100: #E4E7FC;
  --brand-200: #C1C8FA;
  --brand-300: #919EFD;
  --brand-400: #596dfc;
  --brand-500: #233DFB;
  --brand-600: #0422F0;
  --brand-700: #041CC8;
  --brand-800: #0316A0;
  --brand-900: #071473;
  --brand-950: #040D48;
  --brand: #596dfc;
  --brand-ink: #000000;
}

Colors that work with #596dfc

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#F4F5FA
Tinted page background
Border#C0C5ED
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#CC8000
Second voice, not a rival
Dark variant#02117D
Hover, pressed, headers
Light variant#E6E9FF
Selected rows, tints
Dark surface#141624
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 #596dfc

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#FCE859
Analogous left#59BFFC
Analogous right#9759FC
Split-complement 1#FC9759
Split-complement 2#BFFC59
Triadic 1#FC596D
Triadic 2#6DFC59
Tetradic#FC59BF

RGB percentages

Red34.9%
Green42.7%
Blue98.8%

CMYK percentages

Cyan64.7%
Magenta56.7%
Yellow0.0%
Key (black)1.2%

Color previews

#596dfc text on a black background

contrast 5.02:1

Card sample

#596dfc text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #596dfc;
Background color
Panel with #596dfc background
background-color: #596dfc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #596dfc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 109, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 109, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #596dfc;
background: linear-gradient(135deg, #596dfc, #B259FC);

Monochromatic scale

Palettes built from #596dfc

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.

#596dfc 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.

#596dfc, answered

What color is #596dfc?

#596dfc is a light electric blue, closest to Royal Blue (ΔE2000 5.4). It sits at 233° on the hue wheel with 96% saturation and 67% lightness, which reads as cool.

What is the RGB value of #596dfc?

rgb(89, 109, 252) — 89 red, 109 green and 252 blue out of 255, or 34.9% / 42.7% / 98.8% by channel.

Is #596dfc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2009 and perceived brightness is 50%, so black text on it reaches 5.02:1.

Should I use black or white text on #596dfc?

Black. It scores 5.02:1 against #596dfc, versus 4.19:1 for white — AA at any size.

What is the complementary color of #596dfc?

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

What colors go well with #596dfc?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B549B for secondary text, #CC8000 as an accent and #02117D for hover and pressed states. For a palette, the analogous pair #59BFFC and #9759FC stays calm, while #FCE859 is the loudest partner.

What is #596dfc in CMYK for printing?

cmyk(65%, 57%, 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 #596dfc warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8159FC; nudged cooler, #588BFE.

Work with #596dfc in the Color Lab