Skip to content

#475df5

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

RGB
71, 93, 245
HSL
232°, 90%, 62%
CMYK
71, 62, 0, 4
Luminance
0.1576

At a glance

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

Hex
#475df5
Hue
232°
blue
Saturation
90%
electric
Lightness
62%
balanced
Brightness
96%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1576
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.06:1
Closest name
Royal Blue
ΔE2000 5
Where it sits
Hue232° of 360°
Saturation90%
Lightness62%
Temperature
Warm ← → Cool88% 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#475df5
RGBrgb(71, 93, 245)
HSLhsl(232, 90%, 62%)
CMYKcmyk(71%, 62%, 0%, 4%)
LABlab(46.7 41.5 -78.4)
LCHlch(46.7 88.7 297.9)
OKLCHoklch(0.557 0.227 270.7)
Decimal4677109
Display P3color(display-p3 0.278 0.365 0.961)

Copy-ready code

/* CSS */
color: #475df5;
background-color: #475df5;
/* Tailwind (arbitrary) */
class="text-[#475df5] bg-[#475df5]"
/* SCSS */
$brand: #475df5;
/* SwiftUI */
Color(red: 0.278, green: 0.365, blue: 0.961)
/* Android */
Color.parseColor("#475df5")
/* Flutter */
Color(0xFF475DF5)
/* Python / OpenCV (BGR) */
(245, 93, 71)

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

Accessibility — WCAG contrast

Aa
#475df5 on white: 5.06:1
AA ✓ pass · AA-large · AAA
Aa
#475df5 on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0077FA
deuteranopia · #0067F2
tritanopia · #0084A0

Color scale — 50 to 950

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

#F2F3FD
#E5E8FB
#C3CAF8
#95A1F9
#475df5
#2A44F3
#0D28E8
#0B22C1
#081B9B
#0B1770
#070F46
Base = 400Lightest = 50 · #F2F3FDDarkest = 950 · #070F46
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E5E8FB;
  --brand-200: #C3CAF8;
  --brand-300: #95A1F9;
  --brand-400: #475df5;
  --brand-500: #2A44F3;
  --brand-600: #0D28E8;
  --brand-700: #0B22C1;
  --brand-800: #081B9B;
  --brand-900: #0B1770;
  --brand-950: #070F46;
  --brand: #475df5;
  --brand-ink: #ffffff;
}

Colors that work with #475df5

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#C0C5ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#C67D06
Second voice, not a rival
Dark variant#071579
Hover, pressed, headers
Light variant#E7EAFE
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 #475df5

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#F5DF47
Analogous left#47B4F5
Analogous right#8847F5
Split-complement 1#F58847
Split-complement 2#B4F547
Triadic 1#F5475D
Triadic 2#5DF547
Tetradic#F547B4

RGB percentages

Red27.8%
Green36.5%
Blue96.1%

CMYK percentages

Cyan71.0%
Magenta62.0%
Yellow0.0%
Key (black)3.9%

Color previews

#475df5 text on a black background

contrast 4.15:1

Card sample

#475df5 text on a white background

contrast 5.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #475df5;
Background color
Panel with #475df5 background
background-color: #475df5;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #475df5;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(71, 93, 245, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(71, 93, 245, 0.45);
Border & gradient
Gradient panel
border: 3px solid #475df5;
background: linear-gradient(135deg, #475df5, #A547F5);

Monochromatic scale

Palettes built from #475df5

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.

#475df5 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.

#475df5, answered

What color is #475df5?

#475df5 is a balanced electric blue, closest to Royal Blue (ΔE2000 5). It sits at 232° on the hue wheel with 90% saturation and 62% lightness, which reads as cool.

What is the RGB value of #475df5?

rgb(71, 93, 245) — 71 red, 93 green and 245 blue out of 255, or 27.8% / 36.5% / 96.1% by channel.

Is #475df5 a light or a dark color?

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

Should I use black or white text on #475df5?

White. It scores 5.06:1 against #475df5, versus 4.15:1 for black — AA at any size.

What is the complementary color of #475df5?

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

What colors go well with #475df5?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B559B for secondary text, #C67D06 as an accent and #071579 for hover and pressed states. For a palette, the analogous pair #47B4F5 and #8847F5 stays calm, while #F5DF47 is the loudest partner.

What is #475df5 in CMYK for printing?

cmyk(71%, 62%, 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 #475df5 warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7147F5; nudged cooler, #457CF7.

Work with #475df5 in the Color Lab