Skip to content

#2e6eb2

a dark, vivid blue · cool · closest name: Steel Blue

RGB
46, 110, 178
HSL
211°, 59%, 44%
CMYK
74, 38, 0, 30
Luminance
0.1495

At a glance

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

Hex
#2e6eb2
Hue
211°
blue
Saturation
59%
vivid
Lightness
44%
dark
Brightness
70%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1495
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.26:1
Closest name
Steel Blue
ΔE2000 7.6
Where it sits
Hue211° of 360°
Saturation59%
Lightness44%
Temperature
Warm ← → Cool100% 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#2e6eb2
RGBrgb(46, 110, 178)
HSLhsl(211, 59%, 44%)
CMYKcmyk(74%, 38%, 0%, 30%)
LABlab(45.6 3.3 -42.0)
LCHlch(45.6 42.1 274.4)
OKLCHoklch(0.531 0.125 252.5)
Decimal3042994
Display P3color(display-p3 0.180 0.431 0.698)

Copy-ready code

/* CSS */
color: #2e6eb2;
background-color: #2e6eb2;
/* Tailwind (arbitrary) */
class="text-[#2e6eb2] bg-[#2e6eb2]"
/* SCSS */
$brand: #2e6eb2;
/* SwiftUI */
Color(red: 0.180, green: 0.431, blue: 0.698)
/* Android */
Color.parseColor("#2e6eb2")
/* Flutter */
Color(0xFF2E6EB2)
/* Python / OpenCV (BGR) */
(178, 110, 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 #2e6eb2 · 5.26:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.26:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.99:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2e6eb2 as text scores 5.26:1 on white and 3.99:1 on black.

Accessibility — WCAG contrast

Aa
#2e6eb2 on white: 5.26:1
AA ✓ pass · AA-large · AAA
Aa
#2e6eb2 on black: 3.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E73B5
deuteranopia · #3A66B1
tritanopia · #007E87

Color scale — 50 to 950

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

#F4F7FB
#E9EFF7
#CDDDEF
#A6C6E8
#79A9DC
#4D8DD1
#3278C2
#2e6eb2
#225082
#1C3C5E
#12263B
Base = 700Lightest = 50 · #F4F7FBDarkest = 950 · #12263B
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E9EFF7;
  --brand-200: #CDDDEF;
  --brand-300: #A6C6E8;
  --brand-400: #79A9DC;
  --brand-500: #4D8DD1;
  --brand-600: #3278C2;
  --brand-700: #2e6eb2;
  --brand-800: #225082;
  --brand-900: #1C3C5E;
  --brand-950: #12263B;
  --brand: #2e6eb2;
  --brand-ink: #ffffff;
}

Colors that work with #2e6eb2

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#F4F7FA
Tinted page background
Border#C0D6ED
Hairlines and dividers
Muted text#4B729B
Captions on the surface
Accent#B64F2A
Second voice, not a rival
Dark variant#1A3F65
Hover, pressed, headers
Light variant#EBF2FA
Selected rows, tints
Dark surface#141C24
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 #2e6eb2

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
  • 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#B2722E
Analogous left#2EB0B2
Analogous right#302EB2
Split-complement 1#B2302E
Split-complement 2#B0B22E
Triadic 1#B22E6E
Triadic 2#6EB22E
Tetradic#B22EB0

RGB percentages

Red18.0%
Green43.1%
Blue69.8%

CMYK percentages

Cyan74.2%
Magenta38.2%
Yellow0.0%
Key (black)30.2%

Color previews

#2e6eb2 text on a black background

contrast 3.99:1

Card sample

#2e6eb2 text on a white background

contrast 5.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 110, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 110, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e6eb2;
background: linear-gradient(135deg, #2e6eb2, #462EB2);

Monochromatic scale

Palettes built from #2e6eb2

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.

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

#2e6eb2, answered

What color is #2e6eb2?

#2e6eb2 is a dark vivid blue, closest to Steel Blue (ΔE2000 7.6). It sits at 211° on the hue wheel with 59% saturation and 44% lightness, which reads as cool.

What is the RGB value of #2e6eb2?

rgb(46, 110, 178) — 46 red, 110 green and 178 blue out of 255, or 18% / 43.1% / 69.8% by channel.

Is #2e6eb2 a light or a dark color?

It is a dark color. Relative luminance is 0.1495 and perceived brightness is 42%, so white text on it reaches 5.26:1.

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

White. It scores 5.26:1 against #2e6eb2, versus 3.99:1 for black — AA at any size.

What is the complementary color of #2e6eb2?

#B2722E sits directly opposite on the wheel. Softer options are the split-complements #B2302E and #B0B22E, which give the same contrast with far less vibration.

What colors go well with #2e6eb2?

For interface work: #F4F7FA as the surface, #C0D6ED for borders, #4B729B for secondary text, #B64F2A as an accent and #1A3F65 for hover and pressed states. For a palette, the analogous pair #2EB0B2 and #302EB2 stays calm, while #B2722E is the loudest partner.

What is #2e6eb2 in CMYK for printing?

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

Is #2e6eb2 warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2E3EB2; nudged cooler, #2760A0.

Work with #2e6eb2 in the Color Lab