Skip to content

#2b4bbc

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

RGB
43, 75, 188
HSL
227°, 63%, 45%
CMYK
77, 60, 0, 26
Luminance
0.0918

At a glance

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

Hex
#2b4bbc
Hue
227°
blue
Saturation
63%
vivid
Lightness
45%
balanced
Brightness
74%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0918
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.41:1
Closest name
Dark Slate Blue
ΔE2000 9.8
Where it sits
Hue227° of 360°
Saturation63%
Lightness45%
Temperature
Warm ← → Cool91% 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#2b4bbc
RGBrgb(43, 75, 188)
HSLhsl(227, 63%, 45%)
CMYKcmyk(77%, 60%, 0%, 26%)
LABlab(36.3 29.3 -62.7)
LCHlch(36.3 69.2 295.1)
OKLCHoklch(0.462 0.181 266.8)
Decimal2837436
Display P3color(display-p3 0.169 0.294 0.737)

Copy-ready code

/* CSS */
color: #2b4bbc;
background-color: #2b4bbc;
/* Tailwind (arbitrary) */
class="text-[#2b4bbc] bg-[#2b4bbc]"
/* SCSS */
$brand: #2b4bbc;
/* SwiftUI */
Color(red: 0.169, green: 0.294, blue: 0.737)
/* Android */
Color.parseColor("#2b4bbc")
/* Flutter */
Color(0xFF2B4BBC)
/* Python / OpenCV (BGR) */
(188, 75, 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 #2b4bbc · 7.41:1
Use #ffffffAAA at every size.
Aa
White text · 7.41:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.84:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2b4bbc as text scores 7.41:1 on white and 2.84:1 on black.

Accessibility — WCAG contrast

Aa
#2b4bbc on white: 7.41:1
AA ✓ pass · AA-large · AAA
Aa
#2b4bbc on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CC0
deuteranopia · #004FBA
tritanopia · #00687C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2b4bbc 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
#E8ECF7
#CCD4F0
#A4B3EA
#768DE0
#4867D5
#2b4bbc
#2642A6
#1E3585
#1A2961
#101A3C
Base = 600Lightest = 50 · #F4F5FBDarkest = 950 · #101A3C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8ECF7;
  --brand-200: #CCD4F0;
  --brand-300: #A4B3EA;
  --brand-400: #768DE0;
  --brand-500: #4867D5;
  --brand-600: #2b4bbc;
  --brand-700: #2642A6;
  --brand-800: #1E3585;
  --brand-900: #1A2961;
  --brand-950: #101A3C;
  --brand: #2b4bbc;
  --brand-ink: #ffffff;
}

Colors that work with #2b4bbc

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#C0CAED
Hairlines and dividers
Muted text#4B5C9B
Captions on the surface
Accent#C17826
Second voice, not a rival
Dark variant#182968
Hover, pressed, headers
Light variant#EAEEFA
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 #2b4bbc

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#BC9C2B
Analogous left#2B93BC
Analogous right#542BBC
Split-complement 1#BC542B
Split-complement 2#93BC2B
Triadic 1#BC2B4B
Triadic 2#4BBC2B
Tetradic#BC2B93

RGB percentages

Red16.9%
Green29.4%
Blue73.7%

CMYK percentages

Cyan77.1%
Magenta60.1%
Yellow0.0%
Key (black)26.3%

Color previews

#2b4bbc text on a black background

contrast 2.84:1

Card sample

#2b4bbc text on a white background

contrast 7.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b4bbc

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.

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

#2b4bbc, answered

What color is #2b4bbc?

#2b4bbc is a balanced vivid blue, closest to Dark Slate Blue (ΔE2000 9.8). It sits at 227° on the hue wheel with 63% saturation and 45% lightness, which reads as cool.

What is the RGB value of #2b4bbc?

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

Is #2b4bbc a light or a dark color?

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

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

White. It scores 7.41:1 against #2b4bbc, versus 2.84:1 for black — AAA at any size.

What is the complementary color of #2b4bbc?

#BC9C2B sits directly opposite on the wheel. Softer options are the split-complements #BC542B and #93BC2B, which give the same contrast with far less vibration.

What colors go well with #2b4bbc?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5C9B for secondary text, #C17826 as an accent and #182968 for hover and pressed states. For a palette, the analogous pair #2B93BC and #542BBC stays calm, while #BC9C2B is the loudest partner.

What is #2b4bbc in CMYK for printing?

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

Is #2b4bbc warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #402BBC; nudged cooler, #295FBE.

Work with #2b4bbc in the Color Lab