Skip to content

#3d4baf

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

RGB
61, 75, 175
HSL
233°, 48%, 46%
CMYK
65, 57, 0, 31
Luminance
0.0912

At a glance

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

Hex
#3d4baf
Hue
233°
blue
Saturation
48%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0912
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.44:1
Closest name
Dark Slate Blue
ΔE2000 7.6
Where it sits
Hue233° of 360°
Saturation48%
Lightness46%
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#3d4baf
RGBrgb(61, 75, 175)
HSLhsl(233, 48%, 46%)
CMYKcmyk(65%, 57%, 0%, 31%)
LABlab(36.2 27.0 -55.2)
LCHlch(36.2 61.4 296.1)
OKLCHoklch(0.461 0.159 272.5)
Decimal4017071
Display P3color(display-p3 0.239 0.294 0.686)

Copy-ready code

/* CSS */
color: #3d4baf;
background-color: #3d4baf;
/* Tailwind (arbitrary) */
class="text-[#3d4baf] bg-[#3d4baf]"
/* SCSS */
$brand: #3d4baf;
/* SwiftUI */
Color(red: 0.239, green: 0.294, blue: 0.686)
/* Android */
Color.parseColor("#3d4baf")
/* Flutter */
Color(0xFF3D4BAF)
/* Python / OpenCV (BGR) */
(175, 75, 61)

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 #3d4baf · 7.44:1
Use #ffffffAAA at every size.
Aa
White text · 7.44:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.82:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3d4baf as text scores 7.44:1 on white and 2.82:1 on black.

Accessibility — WCAG contrast

Aa
#3d4baf on white: 7.44:1
AA ✓ pass · AA-large · AAA
Aa
#3d4baf on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005AB2
deuteranopia · #0050AD
tritanopia · #006375

Color scale — 50 to 950

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

#F4F5FA
#EAEBF5
#D0D3EC
#ACB2E2
#828CD3
#5966C5
#3d4baf
#354197
#2A3479
#222958
#151937
Base = 600Lightest = 50 · #F4F5FADarkest = 950 · #151937
:root {
  --brand-50: #F4F5FA;
  --brand-100: #EAEBF5;
  --brand-200: #D0D3EC;
  --brand-300: #ACB2E2;
  --brand-400: #828CD3;
  --brand-500: #5966C5;
  --brand-600: #3d4baf;
  --brand-700: #354197;
  --brand-800: #2A3479;
  --brand-900: #222958;
  --brand-950: #151937;
  --brand: #3d4baf;
  --brand-ink: #ffffff;
}

Colors that work with #3d4baf

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#C2C7EA
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#B48638
Second voice, not a rival
Dark variant#21295F
Hover, pressed, headers
Light variant#ECEEF8
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 #3d4baf

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#AFA13D
Analogous left#3D84AF
Analogous right#683DAF
Split-complement 1#AF683D
Split-complement 2#84AF3D
Triadic 1#AF3D4B
Triadic 2#4BAF3D
Tetradic#AF3D84

RGB percentages

Red23.9%
Green29.4%
Blue68.6%

CMYK percentages

Cyan65.1%
Magenta57.1%
Yellow0.0%
Key (black)31.4%

Color previews

#3d4baf text on a black background

contrast 2.82:1

Card sample

#3d4baf text on a white background

contrast 7.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 75, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 75, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d4baf;
background: linear-gradient(135deg, #3d4baf, #7B3DAF);

Monochromatic scale

Palettes built from #3d4baf

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.

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

#3d4baf, answered

What color is #3d4baf?

#3d4baf is a balanced vivid blue, closest to Dark Slate Blue (ΔE2000 7.6). It sits at 233° on the hue wheel with 48% saturation and 46% lightness, which reads as cool.

What is the RGB value of #3d4baf?

rgb(61, 75, 175) — 61 red, 75 green and 175 blue out of 255, or 23.9% / 29.4% / 68.6% by channel.

Is #3d4baf a light or a dark color?

It is a dark color. Relative luminance is 0.0912 and perceived brightness is 35%, so white text on it reaches 7.44:1.

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

White. It scores 7.44:1 against #3d4baf, versus 2.82:1 for black — AAA at any size.

What is the complementary color of #3d4baf?

#AFA13D sits directly opposite on the wheel. Softer options are the split-complements #AF683D and #84AF3D, which give the same contrast with far less vibration.

What colors go well with #3d4baf?

For interface work: #F4F5FA as the surface, #C2C7EA for borders, #4B549B for secondary text, #B48638 as an accent and #21295F for hover and pressed states. For a palette, the analogous pair #3D84AF and #683DAF stays calm, while #AFA13D is the loudest partner.

What is #3d4baf in CMYK for printing?

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

Is #3d4baf 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 #593DAF; nudged cooler, #3B63B1.

Work with #3d4baf in the Color Lab