Skip to content

#3c5df9

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

RGB
60, 93, 249
HSL
230°, 94%, 61%
CMYK
76, 63, 0, 2
Luminance
0.1563

At a glance

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

Hex
#3c5df9
Hue
230°
blue
Saturation
94%
electric
Lightness
61%
balanced
Brightness
98%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1563
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.09:1
Closest name
Royal Blue
ΔE2000 4.8
Where it sits
Hue230° of 360°
Saturation94%
Lightness61%
Temperature
Warm ← → Cool89% 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#3c5df9
RGBrgb(60, 93, 249)
HSLhsl(230, 94%, 61%)
CMYKcmyk(76%, 63%, 0%, 2%)
LABlab(46.5 41.7 -81.0)
LCHlch(46.5 91.0 297.2)
OKLCHoklch(0.555 0.234 268.2)
Decimal3956217
Display P3color(display-p3 0.235 0.365 0.976)

Copy-ready code

/* CSS */
color: #3c5df9;
background-color: #3c5df9;
/* Tailwind (arbitrary) */
class="text-[#3c5df9] bg-[#3c5df9]"
/* SCSS */
$brand: #3c5df9;
/* SwiftUI */
Color(red: 0.235, green: 0.365, blue: 0.976)
/* Android */
Color.parseColor("#3c5df9")
/* Flutter */
Color(0xFF3C5DF9)
/* Python / OpenCV (BGR) */
(249, 93, 60)

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

Accessibility — WCAG contrast

Aa
#3c5df9 on white: 5.09:1
AA ✓ pass · AA-large · AAA
Aa
#3c5df9 on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0077FE
deuteranopia · #0065F6
tritanopia · #0086A3

Color scale — 50 to 950

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

#F2F4FD
#E4E8FB
#C2CCFA
#92A5FC
#5C77FA
#3c5df9
#0730ED
#0628C6
#05209E
#081B72
#051147
Base = 500Lightest = 50 · #F2F4FDDarkest = 950 · #051147
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E4E8FB;
  --brand-200: #C2CCFA;
  --brand-300: #92A5FC;
  --brand-400: #5C77FA;
  --brand-500: #3c5df9;
  --brand-600: #0730ED;
  --brand-700: #0628C6;
  --brand-800: #05209E;
  --brand-900: #081B72;
  --brand-950: #051147;
  --brand: #3c5df9;
  --brand-ink: #ffffff;
}

Colors that work with #3c5df9

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#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#CA7502
Second voice, not a rival
Dark variant#04197C
Hover, pressed, headers
Light variant#E6EAFE
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 #3c5df9

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#F9D83C
Analogous left#3CBCF9
Analogous right#793CF9
Split-complement 1#F9793C
Split-complement 2#BCF93C
Triadic 1#F93C5D
Triadic 2#5DF93C
Tetradic#F93CBC

RGB percentages

Red23.5%
Green36.5%
Blue97.6%

CMYK percentages

Cyan75.9%
Magenta62.7%
Yellow0.0%
Key (black)2.4%

Color previews

#3c5df9 text on a black background

contrast 4.13:1

Card sample

#3c5df9 text on a white background

contrast 5.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3c5df9;
Background color
Panel with #3c5df9 background
background-color: #3c5df9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3c5df9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(60, 93, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 93, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c5df9;
background: linear-gradient(135deg, #3c5df9, #993CF9);

Monochromatic scale

Palettes built from #3c5df9

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.

#3c5df9 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.

#3c5df9, answered

What color is #3c5df9?

#3c5df9 is a balanced electric blue, closest to Royal Blue (ΔE2000 4.8). It sits at 230° on the hue wheel with 94% saturation and 61% lightness, which reads as cool.

What is the RGB value of #3c5df9?

rgb(60, 93, 249) — 60 red, 93 green and 249 blue out of 255, or 23.5% / 36.5% / 97.6% by channel.

Is #3c5df9 a light or a dark color?

It is a dark color. Relative luminance is 0.1563 and perceived brightness is 45%, so white text on it reaches 5.09:1.

Should I use black or white text on #3c5df9?

White. It scores 5.09:1 against #3c5df9, versus 4.13:1 for black — AA at any size.

What is the complementary color of #3c5df9?

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

What colors go well with #3c5df9?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #CA7502 as an accent and #04197C for hover and pressed states. For a palette, the analogous pair #3CBCF9 and #793CF9 stays calm, while #F9D83C is the loudest partner.

What is #3c5df9 in CMYK for printing?

cmyk(76%, 63%, 0%, 2%). 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 #3c5df9 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #603CF9; nudged cooler, #3A79FB.

Work with #3c5df9 in the Color Lab