Skip to content

#2b4eb0

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

RGB
43, 78, 176
HSL
224°, 61%, 43%
CMYK
76, 56, 0, 31
Luminance
0.0910

At a glance

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

Hex
#2b4eb0
Hue
224°
blue
Saturation
61%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0910
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.45:1
Closest name
Dark Slate Blue
ΔE2000 9.7
Where it sits
Hue224° of 360°
Saturation61%
Lightness43%
Temperature
Warm ← → Cool92% 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#2b4eb0
RGBrgb(43, 78, 176)
HSLhsl(224, 61%, 43%)
CMYKcmyk(76%, 56%, 0%, 31%)
LABlab(36.2 22.8 -55.9)
LCHlch(36.2 60.4 292.2)
OKLCHoklch(0.458 0.162 265.5)
Decimal2838192
Display P3color(display-p3 0.169 0.306 0.690)

Copy-ready code

/* CSS */
color: #2b4eb0;
background-color: #2b4eb0;
/* Tailwind (arbitrary) */
class="text-[#2b4eb0] bg-[#2b4eb0]"
/* SCSS */
$brand: #2b4eb0;
/* SwiftUI */
Color(red: 0.169, green: 0.306, blue: 0.690)
/* Android */
Color.parseColor("#2b4eb0")
/* Flutter */
Color(0xFF2B4EB0)
/* Python / OpenCV (BGR) */
(176, 78, 43)

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 #2b4eb0 · 7.45:1
Use #ffffffAAA at every size.
Aa
White text · 7.45: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: #2b4eb0 as text scores 7.45:1 on white and 2.82:1 on black.

Accessibility — WCAG contrast

Aa
#2b4eb0 on white: 7.45:1
AA ✓ pass · AA-large · AAA
Aa
#2b4eb0 on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BB3
deuteranopia · #004FAE
tritanopia · #006677

Color scale — 50 to 950

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

#F4F6FB
#E8ECF7
#CCD5F0
#A5B7E9
#7893DE
#4B6FD3
#3057C5
#2b4eb0
#203A83
#1B2D5F
#111C3C
Base = 700Lightest = 50 · #F4F6FBDarkest = 950 · #111C3C
:root {
  --brand-50: #F4F6FB;
  --brand-100: #E8ECF7;
  --brand-200: #CCD5F0;
  --brand-300: #A5B7E9;
  --brand-400: #7893DE;
  --brand-500: #4B6FD3;
  --brand-600: #3057C5;
  --brand-700: #2b4eb0;
  --brand-800: #203A83;
  --brand-900: #1B2D5F;
  --brand-950: #111C3C;
  --brand: #2b4eb0;
  --brand-ink: #ffffff;
}

Colors that work with #2b4eb0

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#C0CCED
Hairlines and dividers
Muted text#4B609B
Captions on the surface
Accent#B46C27
Second voice, not a rival
Dark variant#192D66
Hover, pressed, headers
Light variant#EBEFFA
Selected rows, tints
Dark surface#141824
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 #2b4eb0

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#B08D2B
Analogous left#2B90B0
Analogous right#4A2BB0
Split-complement 1#B04A2B
Split-complement 2#90B02B
Triadic 1#B02B4E
Triadic 2#4EB02B
Tetradic#B02B90

RGB percentages

Red16.9%
Green30.6%
Blue69.0%

CMYK percentages

Cyan75.6%
Magenta55.7%
Yellow0.0%
Key (black)31.0%

Color previews

#2b4eb0 text on a black background

contrast 2.82:1

Card sample

#2b4eb0 text on a white background

contrast 7.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 78, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 78, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b4eb0;
background: linear-gradient(135deg, #2b4eb0, #612BB0);

Monochromatic scale

Palettes built from #2b4eb0

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.

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

#2b4eb0, answered

What color is #2b4eb0?

#2b4eb0 is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 9.7). It sits at 224° on the hue wheel with 61% saturation and 43% lightness, which reads as cool.

What is the RGB value of #2b4eb0?

rgb(43, 78, 176) — 43 red, 78 green and 176 blue out of 255, or 16.9% / 30.6% / 69% by channel.

Is #2b4eb0 a light or a dark color?

It is a dark color. Relative luminance is 0.0910 and perceived brightness is 34%, so white text on it reaches 7.45:1.

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

White. It scores 7.45:1 against #2b4eb0, versus 2.82:1 for black — AAA at any size.

What is the complementary color of #2b4eb0?

#B08D2B sits directly opposite on the wheel. Softer options are the split-complements #B04A2B and #90B02B, which give the same contrast with far less vibration.

What colors go well with #2b4eb0?

For interface work: #F4F6FA as the surface, #C0CCED for borders, #4B609B for secondary text, #B46C27 as an accent and #192D66 for hover and pressed states. For a palette, the analogous pair #2B90B0 and #4A2BB0 stays calm, while #B08D2B is the loudest partner.

What is #2b4eb0 in CMYK for printing?

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

Is #2b4eb0 warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #392BB0; nudged cooler, #295EB2.

Work with #2b4eb0 in the Color Lab