Skip to content

#2f76cd

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

RGB
47, 118, 205
HSL
213°, 63%, 49%
CMYK
77, 42, 0, 20
Luminance
0.1797

At a glance

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

Hex
#2f76cd
Hue
213°
blue
Saturation
63%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1797
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.59:1
Closest name
Steel Blue
ΔE2000 5.4
Where it sits
Hue213° of 360°
Saturation63%
Lightness49%
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#2f76cd
RGBrgb(47, 118, 205)
HSLhsl(213, 63%, 49%)
CMYKcmyk(77%, 42%, 0%, 20%)
LABlab(49.5 8.5 -51.3)
LCHlch(49.5 52.0 279.4)
OKLCHoklch(0.566 0.152 255.5)
Decimal3110605
Display P3color(display-p3 0.184 0.463 0.804)

Copy-ready code

/* CSS */
color: #2f76cd;
background-color: #2f76cd;
/* Tailwind (arbitrary) */
class="text-[#2f76cd] bg-[#2f76cd]"
/* SCSS */
$brand: #2f76cd;
/* SwiftUI */
Color(red: 0.184, green: 0.463, blue: 0.804)
/* Android */
Color.parseColor("#2f76cd")
/* Flutter */
Color(0xFF2F76CD)
/* Python / OpenCV (BGR) */
(205, 118, 47)

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

Accessibility — WCAG contrast

Aa
#2f76cd on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#2f76cd on black: 4.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B7DD0
deuteranopia · #2E6FCB
tritanopia · #008B97

Color scale — 50 to 950

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

#F4F7FB
#E8EFF7
#CCDCF0
#A4C3EA
#76A6E0
#4888D5
#2f76cd
#2660A6
#1E4C85
#1A3A61
#10243C
Base = 600Lightest = 50 · #F4F7FBDarkest = 950 · #10243C
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E8EFF7;
  --brand-200: #CCDCF0;
  --brand-300: #A4C3EA;
  --brand-400: #76A6E0;
  --brand-500: #4888D5;
  --brand-600: #2f76cd;
  --brand-700: #2660A6;
  --brand-800: #1E4C85;
  --brand-900: #1A3A61;
  --brand-950: #10243C;
  --brand: #2f76cd;
  --brand-ink: #000000;
}

Colors that work with #2f76cd

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#F4F7FA
Tinted page background
Border#C0D4ED
Hairlines and dividers
Muted text#4B6F9B
Captions on the surface
Accent#D25C2A
Second voice, not a rival
Dark variant#183C68
Hover, pressed, headers
Light variant#EAF1FA
Selected rows, tints
Dark surface#141B24
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 #2f76cd

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#CD862F
Analogous left#2FC5CD
Analogous right#372FCD
Split-complement 1#CD372F
Split-complement 2#C5CD2F
Triadic 1#CD2F76
Triadic 2#76CD2F
Tetradic#CD2FC5

RGB percentages

Red18.4%
Green46.3%
Blue80.4%

CMYK percentages

Cyan77.1%
Magenta42.4%
Yellow0.0%
Key (black)19.6%

Color previews

#2f76cd text on a black background

contrast 4.59:1

Card sample

#2f76cd text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 118, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 118, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f76cd;
background: linear-gradient(135deg, #2f76cd, #512FCD);

Monochromatic scale

Palettes built from #2f76cd

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.

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

#2f76cd, answered

What color is #2f76cd?

#2f76cd is a balanced vivid blue, closest to Steel Blue (ΔE2000 5.4). It sits at 213° on the hue wheel with 63% saturation and 49% lightness, which reads as cool.

What is the RGB value of #2f76cd?

rgb(47, 118, 205) — 47 red, 118 green and 205 blue out of 255, or 18.4% / 46.3% / 80.4% by channel.

Is #2f76cd a light or a dark color?

It is a dark color. Relative luminance is 0.1797 and perceived brightness is 46%, so black text on it reaches 4.59:1.

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

Black. It scores 4.59:1 against #2f76cd, versus 4.57:1 for white — AA at any size.

What is the complementary color of #2f76cd?

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

What colors go well with #2f76cd?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6F9B for secondary text, #D25C2A as an accent and #183C68 for hover and pressed states. For a palette, the analogous pair #2FC5CD and #372FCD stays calm, while #CD862F is the loudest partner.

What is #2f76cd in CMYK for printing?

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

Is #2f76cd 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 #2F3CCD; nudged cooler, #286CBA.

Work with #2f76cd in the Color Lab