Skip to content

#2f91cf

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

RGB
47, 145, 207
HSL
203°, 63%, 50%
CMYK
77, 30, 0, 19
Luminance
0.2536

At a glance

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

Hex
#2f91cf
Hue
203°
blue
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2536
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.07:1
Closest name
Steel Blue
ΔE2000 6.1
Where it sits
Hue203° of 360°
Saturation63%
Lightness50%
Temperature
Warm ← → Cool97% 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#2f91cf
RGBrgb(47, 145, 207)
HSLhsl(203, 63%, 50%)
CMYKcmyk(77%, 30%, 0%, 19%)
LABlab(57.4 -6.9 -39.8)
LCHlch(57.4 40.4 260.1)
OKLCHoklch(0.629 0.129 241.4)
Decimal3117519
Display P3color(display-p3 0.184 0.569 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f91cf on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#2f91cf on black: 6.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7492D2
deuteranopia · #5E83CE
tritanopia · #00A0A7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f91cf 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
#E8F1F7
#CBE2F0
#A4CFEA
#76B7E0
#489FD5
#2f91cf
#2674A6
#1E5D85
#1A4561
#102B3C
Base = 600Lightest = 50 · #F4F8FBDarkest = 950 · #102B3C
:root {
  --brand-50: #F4F8FB;
  --brand-100: #E8F1F7;
  --brand-200: #CBE2F0;
  --brand-300: #A4CFEA;
  --brand-400: #76B7E0;
  --brand-500: #489FD5;
  --brand-600: #2f91cf;
  --brand-700: #2674A6;
  --brand-800: #1E5D85;
  --brand-900: #1A4561;
  --brand-950: #102B3C;
  --brand: #2f91cf;
  --brand-ink: #000000;
}

Colors that work with #2f91cf

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#C0DBED
Hairlines and dividers
Muted text#4B7C9B
Captions on the surface
Accent#D4412A
Second voice, not a rival
Dark variant#184968
Hover, pressed, headers
Light variant#EAF4FA
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 #2f91cf

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#CF6D2F
Analogous left#2FCFBD
Analogous right#2F41CF
Split-complement 1#CF2F41
Split-complement 2#CFBD2F
Triadic 1#CF2F91
Triadic 2#91CF2F
Tetradic#BD2FCF

RGB percentages

Red18.4%
Green56.9%
Blue81.2%

CMYK percentages

Cyan77.3%
Magenta30.0%
Yellow0.0%
Key (black)18.8%

Color previews

#2f91cf text on a black background

contrast 6.07:1

Card sample

#2f91cf text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f91cf

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.

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

#2f91cf, answered

What color is #2f91cf?

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

What is the RGB value of #2f91cf?

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

Is #2f91cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2536 and perceived brightness is 52%, so black text on it reaches 6.07:1.

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

Black. It scores 6.07:1 against #2f91cf, versus 3.46:1 for white — AA at any size.

What is the complementary color of #2f91cf?

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

What colors go well with #2f91cf?

For interface work: #F4F8FA as the surface, #C0DBED for borders, #4B7C9B for secondary text, #D4412A as an accent and #184968 for hover and pressed states. For a palette, the analogous pair #2FCFBD and #2F41CF stays calm, while #CF6D2F is the loudest partner.

What is #2f91cf in CMYK for printing?

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

Is #2f91cf warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2FCCCF; nudged cooler, #2877BC.

Work with #2f91cf in the Color Lab