Skip to content

#337eb2

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

RGB
51, 126, 178
HSL
205°, 56%, 45%
CMYK
71, 29, 0, 30
Luminance
0.1884

At a glance

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

Hex
#337eb2
Hue
205°
blue
Saturation
56%
vivid
Lightness
45%
dark
Brightness
70%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1884
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.77:1
Closest name
Steel Blue
ΔE2000 2.5
Where it sits
Hue205° of 360°
Saturation56%
Lightness45%
Temperature
Warm ← → Cool98% 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#337eb2
RGBrgb(51, 126, 178)
HSLhsl(205, 56%, 45%)
CMYKcmyk(71%, 29%, 0%, 30%)
LABlab(50.5 -5.7 -34.2)
LCHlch(50.5 34.6 260.5)
OKLCHoklch(0.570 0.109 242.5)
Decimal3374770
Display P3color(display-p3 0.200 0.494 0.698)

Copy-ready code

/* CSS */
color: #337eb2;
background-color: #337eb2;
/* Tailwind (arbitrary) */
class="text-[#337eb2] bg-[#337eb2]"
/* SCSS */
$brand: #337eb2;
/* SwiftUI */
Color(red: 0.200, green: 0.494, blue: 0.698)
/* Android */
Color.parseColor("#337eb2")
/* Flutter */
Color(0xFF337EB2)
/* Python / OpenCV (BGR) */
(178, 126, 51)

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#000000 on #337eb2 · 4.77:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.40:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.77:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #337eb2 as text scores 4.40:1 on white and 4.77:1 on black.

Accessibility — WCAG contrast

Aa
#337eb2 on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#337eb2 on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #667FB4
deuteranopia · #5573B1
tritanopia · #008B90

Color scale — 50 to 950

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

#F4F8FB
#E9F1F6
#CEE1EE
#A8CDE6
#7CB3DA
#519ACD
#337eb2
#2D709F
#245A7F
#1E435C
#132A3A
Base = 600Lightest = 50 · #F4F8FBDarkest = 950 · #132A3A
:root {
  --brand-50: #F4F8FB;
  --brand-100: #E9F1F6;
  --brand-200: #CEE1EE;
  --brand-300: #A8CDE6;
  --brand-400: #7CB3DA;
  --brand-500: #519ACD;
  --brand-600: #337eb2;
  --brand-700: #2D709F;
  --brand-800: #245A7F;
  --brand-900: #1E435C;
  --brand-950: #132A3A;
  --brand: #337eb2;
  --brand-ink: #000000;
}

Colors that work with #337eb2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DAED
Hairlines and dividers
Muted text#4B7A9B
Captions on the surface
Accent#B7442E
Second voice, not a rival
Dark variant#1C4663
Hover, pressed, headers
Light variant#EBF4F9
Selected rows, tints
Dark surface#141E24
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 #337eb2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#B26733
Analogous left#33B2A7
Analogous right#333EB2
Split-complement 1#B2333E
Split-complement 2#B2A733
Triadic 1#B2337E
Triadic 2#7EB233
Tetradic#A733B2

RGB percentages

Red20.0%
Green49.4%
Blue69.8%

CMYK percentages

Cyan71.3%
Magenta29.2%
Yellow0.0%
Key (black)30.2%

Color previews

#337eb2 text on a black background

contrast 4.77:1

Card sample

#337eb2 text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #337eb2;
Background color
Panel with #337eb2 background
background-color: #337eb2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(51, 126, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 126, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #337eb2;
background: linear-gradient(135deg, #337eb2, #3D33B2);

Monochromatic scale

Palettes built from #337eb2

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.

#337eb2 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.

#337eb2, answered

What color is #337eb2?

#337eb2 is a dark vivid blue, closest to Steel Blue (ΔE2000 2.5). It sits at 205° on the hue wheel with 56% saturation and 45% lightness, which reads as cool.

What is the RGB value of #337eb2?

rgb(51, 126, 178) — 51 red, 126 green and 178 blue out of 255, or 20% / 49.4% / 69.8% by channel.

Is #337eb2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1884 and perceived brightness is 46%, so black text on it reaches 4.77:1.

Should I use black or white text on #337eb2?

Black. It scores 4.77:1 against #337eb2, versus 4.40:1 for white — AA at any size.

What is the complementary color of #337eb2?

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

What colors go well with #337eb2?

For interface work: #F4F8FA as the surface, #C0DAED for borders, #4B7A9B for secondary text, #B7442E as an accent and #1C4663 for hover and pressed states. For a palette, the analogous pair #33B2A7 and #333EB2 stays calm, while #B26733 is the loudest partner.

What is #337eb2 in CMYK for printing?

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

Is #337eb2 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #33ADB2; nudged cooler, #2B68A0.

Work with #337eb2 in the Color Lab