Skip to content

#415f7f

a dark, soft blue · cool · closest name: Royal Blue

RGB
65, 95, 127
HSL
211°, 32%, 38%
CMYK
49, 25, 0, 50
Luminance
0.1084

At a glance

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

Hex
#415f7f
Hue
211°
blue
Saturation
32%
soft
Lightness
38%
dark
Brightness
50%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1084
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Soft
Best ink
White
6.63:1
Closest name
Royal Blue
ΔE2000 11.6
Where it sits
Hue211° of 360°
Saturation32%
Lightness38%
Temperature
Warm ← → Cool96% 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#415f7f
RGBrgb(65, 95, 127)
HSLhsl(211, 32%, 38%)
CMYKcmyk(49%, 25%, 0%, 50%)
LABlab(39.3 -1.6 -21.3)
LCHlch(39.3 21.4 265.8)
OKLCHoklch(0.476 0.063 250.8)
Decimal4284287
Display P3color(display-p3 0.255 0.373 0.498)

Copy-ready code

/* CSS */
color: #415f7f;
background-color: #415f7f;
/* Tailwind (arbitrary) */
class="text-[#415f7f] bg-[#415f7f]"
/* SCSS */
$brand: #415f7f;
/* SwiftUI */
Color(red: 0.255, green: 0.373, blue: 0.498)
/* Android */
Color.parseColor("#415f7f")
/* Flutter */
Color(0xFF415F7F)
/* Python / OpenCV (BGR) */
(127, 95, 65)

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

Accessibility — WCAG contrast

Aa
#415f7f on white: 6.63:1
AA ✓ pass · AA-large · AAA
Aa
#415f7f on black: 3.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #526080
deuteranopia · #4B5A7E
tritanopia · #26666A

Color scale — 50 to 950

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

#F5F7F9
#ECF0F4
#D4DEE7
#B5C6D9
#90AAC6
#6B8EB3
#5379A2
#415f7f
#37516C
#2B3D4F
#1B2632
Base = 700Lightest = 50 · #F5F7F9Darkest = 950 · #1B2632
:root {
  --brand-50: #F5F7F9;
  --brand-100: #ECF0F4;
  --brand-200: #D4DEE7;
  --brand-300: #B5C6D9;
  --brand-400: #90AAC6;
  --brand-500: #6B8EB3;
  --brand-600: #5379A2;
  --brand-700: #415f7f;
  --brand-800: #37516C;
  --brand-900: #2B3D4F;
  --brand-950: #1B2632;
  --brand: #415f7f;
  --brand-ink: #ffffff;
}

Colors that work with #415f7f

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#F5F7FA
Tinted page background
Border#C9D6E3
Hairlines and dividers
Muted text#4E7298
Captions on the surface
Accent#83503D
Second voice, not a rival
Dark variant#2B3F54
Hover, pressed, headers
Light variant#EEF2F6
Selected rows, tints
Dark surface#141C24
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 #415f7f

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Black 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#7F6141
Analogous left#417E7F
Analogous right#42417F
Split-complement 1#7F4241
Split-complement 2#7E7F41
Triadic 1#7F415F
Triadic 2#5F7F41
Tetradic#7F417E

RGB percentages

Red25.5%
Green37.3%
Blue49.8%

CMYK percentages

Cyan48.8%
Magenta25.2%
Yellow0.0%
Key (black)50.2%

Color previews

#415f7f text on a black background

contrast 3.17:1

Card sample

#415f7f text on a white background

contrast 6.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #415f7f;
Background color
Panel with #415f7f background
background-color: #415f7f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #415f7f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 95, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 95, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #415f7f;
background: linear-gradient(135deg, #415f7f, #4C417F);

Monochromatic scale

Palettes built from #415f7f

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.

#415f7f 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.

#415f7f, answered

What color is #415f7f?

#415f7f is a dark soft blue, closest to Royal Blue (ΔE2000 11.6). It sits at 211° on the hue wheel with 32% saturation and 38% lightness, which reads as cool.

What is the RGB value of #415f7f?

rgb(65, 95, 127) — 65 red, 95 green and 127 blue out of 255, or 25.5% / 37.3% / 49.8% by channel.

Is #415f7f a light or a dark color?

It is a dark color. Relative luminance is 0.1084 and perceived brightness is 36%, so white text on it reaches 6.63:1.

Should I use black or white text on #415f7f?

White. It scores 6.63:1 against #415f7f, versus 3.17:1 for black — AA at any size.

What is the complementary color of #415f7f?

#7F6141 sits directly opposite on the wheel. Softer options are the split-complements #7F4241 and #7E7F41, which give the same contrast with far less vibration.

What colors go well with #415f7f?

For interface work: #F5F7FA as the surface, #C9D6E3 for borders, #4E7298 for secondary text, #83503D as an accent and #2B3F54 for hover and pressed states. For a palette, the analogous pair #417E7F and #42417F stays calm, while #7F6141 is the loudest partner.

What is #415f7f in CMYK for printing?

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

Is #415f7f warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #41487F; nudged cooler, #375270.

Work with #415f7f in the Color Lab