Skip to content

#413eb4

a balanced, vivid blue · cool · closest name: Dark Slate Blue

RGB
65, 62, 180
HSL
242°, 49%, 48%
CMYK
64, 66, 0, 29
Luminance
0.0786

At a glance

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

Hex
#413eb4
Hue
242°
blue
Saturation
49%
vivid
Lightness
48%
balanced
Brightness
71%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0786
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.16:1
Closest name
Dark Slate Blue
ΔE2000 6.8
Where it sits
Hue242° of 360°
Saturation49%
Lightness48%
Temperature
Warm ← → Cool83% 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#413eb4
RGBrgb(65, 62, 180)
HSLhsl(242, 49%, 48%)
CMYKcmyk(64%, 66%, 0%, 29%)
LABlab(33.7 37.6 -62.2)
LCHlch(33.7 72.7 301.1)
OKLCHoklch(0.444 0.181 277.2)
Decimal4275892
Display P3color(display-p3 0.255 0.243 0.706)

Copy-ready code

/* CSS */
color: #413eb4;
background-color: #413eb4;
/* Tailwind (arbitrary) */
class="text-[#413eb4] bg-[#413eb4]"
/* SCSS */
$brand: #413eb4;
/* SwiftUI */
Color(red: 0.255, green: 0.243, blue: 0.706)
/* Android */
Color.parseColor("#413eb4")
/* Flutter */
Color(0xFF413EB4)
/* Python / OpenCV (BGR) */
(180, 62, 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 #413eb4 · 8.16:1
Use #ffffffAAA at every size.
Aa
White text · 8.16:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.57:1
AA fail · AA large fail · AAA fail
Reading the other direction: #413eb4 as text scores 8.16:1 on white and 2.57:1 on black.

Accessibility — WCAG contrast

Aa
#413eb4 on white: 8.16:1
AA ✓ pass · AA-large · AAA
Aa
#413eb4 on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0054B8
deuteranopia · #004AB2
tritanopia · #005C73

Color scale — 50 to 950

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

#F5F4FA
#EAEAF6
#D0D0EC
#ADACE2
#8482D4
#5B58C6
#413eb4
#373498
#2C2A79
#232259
#161537
Base = 600Lightest = 50 · #F5F4FADarkest = 950 · #161537
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EAEAF6;
  --brand-200: #D0D0EC;
  --brand-300: #ADACE2;
  --brand-400: #8482D4;
  --brand-500: #5B58C6;
  --brand-600: #413eb4;
  --brand-700: #373498;
  --brand-800: #2C2A79;
  --brand-900: #232259;
  --brand-950: #161537;
  --brand: #413eb4;
  --brand-ink: #ffffff;
}

Colors that work with #413eb4

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#F4F4FA
Tinted page background
Border#C3C2EA
Hairlines and dividers
Muted text#4D4B9B
Captions on the surface
Accent#9C8330
Second voice, not a rival
Dark variant#22215F
Hover, pressed, headers
Light variant#ECECF8
Selected rows, tints
Dark surface#141424
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 #413eb4

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
  • Text on black or near-black surfaces
  • 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#B1B43E
Analogous left#3E76B4
Analogous right#7C3EB4
Split-complement 1#B47C3E
Split-complement 2#76B43E
Triadic 1#B4413E
Triadic 2#3EB441
Tetradic#B43E76

RGB percentages

Red25.5%
Green24.3%
Blue70.6%

CMYK percentages

Cyan63.9%
Magenta65.6%
Yellow0.0%
Key (black)29.4%

Color previews

#413eb4 text on a black background

contrast 2.57:1

Card sample

#413eb4 text on a white background

contrast 8.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #413eb4;
Background color
Panel with #413eb4 background
background-color: #413eb4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #413eb4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 62, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 62, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #413eb4;
background: linear-gradient(135deg, #413eb4, #903EB4);

Monochromatic scale

Palettes built from #413eb4

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.

#413eb4 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.

#413eb4, answered

What color is #413eb4?

#413eb4 is a balanced vivid blue, closest to Dark Slate Blue (ΔE2000 6.8). It sits at 242° on the hue wheel with 49% saturation and 48% lightness, which reads as cool.

What is the RGB value of #413eb4?

rgb(65, 62, 180) — 65 red, 62 green and 180 blue out of 255, or 25.5% / 24.3% / 70.6% by channel.

Is #413eb4 a light or a dark color?

It is a dark color. Relative luminance is 0.0786 and perceived brightness is 33%, so white text on it reaches 8.16:1.

Should I use black or white text on #413eb4?

White. It scores 8.16:1 against #413eb4, versus 2.57:1 for black — AAA at any size.

What is the complementary color of #413eb4?

#B1B43E sits directly opposite on the wheel. Softer options are the split-complements #B47C3E and #76B43E, which give the same contrast with far less vibration.

What colors go well with #413eb4?

For interface work: #F4F4FA as the surface, #C3C2EA for borders, #4D4B9B for secondary text, #9C8330 as an accent and #22215F for hover and pressed states. For a palette, the analogous pair #3E76B4 and #7C3EB4 stays calm, while #B1B43E is the loudest partner.

What is #413eb4 in CMYK for printing?

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

Is #413eb4 warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6C3EB4; nudged cooler, #3C5FB7.

Work with #413eb4 in the Color Lab