Skip to content

#2f75cf

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

RGB
47, 117, 207
HSL
214°, 63%, 50%
CMYK
77, 44, 0, 19
Luminance
0.1783

At a glance

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

Hex
#2f75cf
Hue
214°
blue
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1783
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
4.60:1
Closest name
Steel Blue
ΔE2000 5.8
Where it sits
Hue214° of 360°
Saturation63%
Lightness50%
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#2f75cf
RGBrgb(47, 117, 207)
HSLhsl(214, 63%, 50%)
CMYKcmyk(77%, 44%, 0%, 19%)
LABlab(49.3 9.9 -52.7)
LCHlch(49.3 53.6 280.6)
OKLCHoklch(0.566 0.155 256.3)
Decimal3110351
Display P3color(display-p3 0.184 0.459 0.812)

Copy-ready code

/* CSS */
color: #2f75cf;
background-color: #2f75cf;
/* Tailwind (arbitrary) */
class="text-[#2f75cf] bg-[#2f75cf]"
/* SCSS */
$brand: #2f75cf;
/* SwiftUI */
Color(red: 0.184, green: 0.459, blue: 0.812)
/* Android */
Color.parseColor("#2f75cf")
/* Flutter */
Color(0xFF2F75CF)
/* Python / OpenCV (BGR) */
(207, 117, 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#ffffff on #2f75cf · 4.60:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.60:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.57:1
AA pass · AA large pass · AAA fail
Reading the other direction: #2f75cf as text scores 4.60:1 on white and 4.57:1 on black.

Accessibility — WCAG contrast

Aa
#2f75cf on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#2f75cf on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #477DD2
deuteranopia · #286ECD
tritanopia · #008A98

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f75cf 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
#CBDCF0
#A4C2EA
#76A4E0
#4886D5
#2f75cf
#265EA6
#1E4B85
#1A3961
#10233C
Base = 600Lightest = 50 · #F4F7FBDarkest = 950 · #10233C
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E8EFF7;
  --brand-200: #CBDCF0;
  --brand-300: #A4C2EA;
  --brand-400: #76A4E0;
  --brand-500: #4886D5;
  --brand-600: #2f75cf;
  --brand-700: #265EA6;
  --brand-800: #1E4B85;
  --brand-900: #1A3961;
  --brand-950: #10233C;
  --brand: #2f75cf;
  --brand-ink: #ffffff;
}

Colors that work with #2f75cf

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#C0D3ED
Hairlines and dividers
Muted text#4B6E9B
Captions on the surface
Accent#D45F2A
Second voice, not a rival
Dark variant#183B68
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 #2f75cf

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#CF892F
Analogous left#2FC5CF
Analogous right#392FCF
Split-complement 1#CF392F
Split-complement 2#C5CF2F
Triadic 1#CF2F75
Triadic 2#75CF2F
Tetradic#CF2FC5

RGB percentages

Red18.4%
Green45.9%
Blue81.2%

CMYK percentages

Cyan77.3%
Magenta43.5%
Yellow0.0%
Key (black)18.8%

Color previews

#2f75cf text on a black background

contrast 4.57:1

Card sample

#2f75cf text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 117, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 117, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f75cf;
background: linear-gradient(135deg, #2f75cf, #542FCF);

Monochromatic scale

Palettes built from #2f75cf

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.

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

#2f75cf, answered

What color is #2f75cf?

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

What is the RGB value of #2f75cf?

rgb(47, 117, 207) — 47 red, 117 green and 207 blue out of 255, or 18.4% / 45.9% / 81.2% by channel.

Is #2f75cf a light or a dark color?

It is a dark color. Relative luminance is 0.1783 and perceived brightness is 46%, so white text on it reaches 4.60:1.

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

White. It scores 4.60:1 against #2f75cf, versus 4.57:1 for black — AA at any size.

What is the complementary color of #2f75cf?

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

What colors go well with #2f75cf?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6E9B for secondary text, #D45F2A as an accent and #183B68 for hover and pressed states. For a palette, the analogous pair #2FC5CF and #392FCF stays calm, while #CF892F is the loudest partner.

What is #2f75cf in CMYK for printing?

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

Is #2f75cf 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 #2F3ACF; nudged cooler, #286CBC.

Work with #2f75cf in the Color Lab