Skip to content

#2e4bbc

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

RGB
46, 75, 188
HSL
228°, 61%, 46%
CMYK
76, 60, 0, 26
Luminance
0.0924

At a glance

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

Hex
#2e4bbc
Hue
228°
blue
Saturation
61%
vivid
Lightness
46%
balanced
Brightness
74%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0924
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.37:1
Closest name
Dark Slate Blue
ΔE2000 9.6
Where it sits
Hue228° of 360°
Saturation61%
Lightness46%
Temperature
Warm ← → Cool90% 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#2e4bbc
RGBrgb(46, 75, 188)
HSLhsl(228, 61%, 46%)
CMYKcmyk(76%, 60%, 0%, 26%)
LABlab(36.5 29.7 -62.5)
LCHlch(36.5 69.2 295.4)
OKLCHoklch(0.463 0.181 267.6)
Decimal3034044
Display P3color(display-p3 0.180 0.294 0.737)

Copy-ready code

/* CSS */
color: #2e4bbc;
background-color: #2e4bbc;
/* Tailwind (arbitrary) */
class="text-[#2e4bbc] bg-[#2e4bbc]"
/* SCSS */
$brand: #2e4bbc;
/* SwiftUI */
Color(red: 0.180, green: 0.294, blue: 0.737)
/* Android */
Color.parseColor("#2e4bbc")
/* Flutter */
Color(0xFF2E4BBC)
/* Python / OpenCV (BGR) */
(188, 75, 46)

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

Accessibility — WCAG contrast

Aa
#2e4bbc on white: 7.37:1
AA ✓ pass · AA-large · AAA
Aa
#2e4bbc on black: 2.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DC0
deuteranopia · #004FBA
tritanopia · #00687C

Color scale — 50 to 950

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

#F4F5FB
#E8EBF7
#CCD3F0
#A5B3E9
#788DDE
#4B67D3
#2e4bbc
#2841A4
#203483
#1B295F
#111A3C
Base = 600Lightest = 50 · #F4F5FBDarkest = 950 · #111A3C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8EBF7;
  --brand-200: #CCD3F0;
  --brand-300: #A5B3E9;
  --brand-400: #788DDE;
  --brand-500: #4B67D3;
  --brand-600: #2e4bbc;
  --brand-700: #2841A4;
  --brand-800: #203483;
  --brand-900: #1B295F;
  --brand-950: #111A3C;
  --brand: #2e4bbc;
  --brand-ink: #ffffff;
}

Colors that work with #2e4bbc

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#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#C17C29
Second voice, not a rival
Dark variant#192966
Hover, pressed, headers
Light variant#EBEEFA
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 #2e4bbc

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#BC9F2E
Analogous left#2E92BC
Analogous right#582EBC
Split-complement 1#BC582E
Split-complement 2#92BC2E
Triadic 1#BC2E4B
Triadic 2#4BBC2E
Tetradic#BC2E92

RGB percentages

Red18.0%
Green29.4%
Blue73.7%

CMYK percentages

Cyan75.5%
Magenta60.1%
Yellow0.0%
Key (black)26.3%

Color previews

#2e4bbc text on a black background

contrast 2.85:1

Card sample

#2e4bbc text on a white background

contrast 7.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2e4bbc;
Background color
Panel with #2e4bbc background
background-color: #2e4bbc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 75, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 75, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e4bbc;
background: linear-gradient(135deg, #2e4bbc, #702EBC);

Monochromatic scale

Palettes built from #2e4bbc

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.

#2e4bbc 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.

#2e4bbc, answered

What color is #2e4bbc?

#2e4bbc is a balanced vivid blue, closest to Dark Slate Blue (ΔE2000 9.6). It sits at 228° on the hue wheel with 61% saturation and 46% lightness, which reads as cool.

What is the RGB value of #2e4bbc?

rgb(46, 75, 188) — 46 red, 75 green and 188 blue out of 255, or 18% / 29.4% / 73.7% by channel.

Is #2e4bbc a light or a dark color?

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

Should I use black or white text on #2e4bbc?

White. It scores 7.37:1 against #2e4bbc, versus 2.85:1 for black — AAA at any size.

What is the complementary color of #2e4bbc?

#BC9F2E sits directly opposite on the wheel. Softer options are the split-complements #BC582E and #92BC2E, which give the same contrast with far less vibration.

What colors go well with #2e4bbc?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #C17C29 as an accent and #192966 for hover and pressed states. For a palette, the analogous pair #2E92BC and #582EBC stays calm, while #BC9F2E is the loudest partner.

What is #2e4bbc in CMYK for printing?

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

Is #2e4bbc warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #452EBC; nudged cooler, #2C60BE.

Work with #2e4bbc in the Color Lab