Skip to content

#2f86cb

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

RGB
47, 134, 203
HSL
207°, 62%, 49%
CMYK
77, 34, 0, 20
Luminance
0.2197

At a glance

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

Hex
#2f86cb
Hue
207°
blue
Saturation
62%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2197
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.39:1
Closest name
Steel Blue
ΔE2000 3.1
Where it sits
Hue207° of 360°
Saturation62%
Lightness49%
Temperature
Warm ← → Cool99% 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#2f86cb
RGBrgb(47, 134, 203)
HSLhsl(207, 62%, 49%)
CMYKcmyk(77%, 34%, 0%, 20%)
LABlab(54.0 -2.0 -43.0)
LCHlch(54.0 43.0 267.4)
OKLCHoklch(0.602 0.133 246.7)
Decimal3114699
Display P3color(display-p3 0.184 0.525 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f86cb on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#2f86cb on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6689CE
deuteranopia · #507BCA
tritanopia · #00979F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f86cb 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
#CCE0F0
#A4CBEA
#76B1DF
#4997D5
#2f86cb
#266DA6
#1F5885
#1A4160
#10293C
Base = 600Lightest = 50 · #F4F8FBDarkest = 950 · #10293C
:root {
  --brand-50: #F4F8FB;
  --brand-100: #E8F1F7;
  --brand-200: #CCE0F0;
  --brand-300: #A4CBEA;
  --brand-400: #76B1DF;
  --brand-500: #4997D5;
  --brand-600: #2f86cb;
  --brand-700: #266DA6;
  --brand-800: #1F5885;
  --brand-900: #1A4160;
  --brand-950: #10293C;
  --brand: #2f86cb;
  --brand-ink: #000000;
}

Colors that work with #2f86cb

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#C0D9ED
Hairlines and dividers
Muted text#4B779B
Captions on the surface
Accent#D04A2A
Second voice, not a rival
Dark variant#184468
Hover, pressed, headers
Light variant#EAF3FA
Selected rows, tints
Dark surface#141D24
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 #2f86cb

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#CB742F
Analogous left#2FCBC2
Analogous right#2F38CB
Split-complement 1#CB2F38
Split-complement 2#CBC22F
Triadic 1#CB2F86
Triadic 2#86CB2F
Tetradic#C22FCB

RGB percentages

Red18.4%
Green52.5%
Blue79.6%

CMYK percentages

Cyan76.8%
Magenta34.0%
Yellow0.0%
Key (black)20.4%

Color previews

#2f86cb text on a black background

contrast 5.39:1

Card sample

#2f86cb text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 134, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 134, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f86cb;
background: linear-gradient(135deg, #2f86cb, #402FCB);

Monochromatic scale

Palettes built from #2f86cb

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.

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

#2f86cb, answered

What color is #2f86cb?

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

What is the RGB value of #2f86cb?

rgb(47, 134, 203) — 47 red, 134 green and 203 blue out of 255, or 18.4% / 52.5% / 79.6% by channel.

Is #2f86cb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2197 and perceived brightness is 49%, so black text on it reaches 5.39:1.

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

Black. It scores 5.39:1 against #2f86cb, versus 3.89:1 for white — AA at any size.

What is the complementary color of #2f86cb?

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

What colors go well with #2f86cb?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B779B for secondary text, #D04A2A as an accent and #184468 for hover and pressed states. For a palette, the analogous pair #2FCBC2 and #2F38CB stays calm, while #CB742F is the loudest partner.

What is #2f86cb in CMYK for printing?

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

Is #2f86cb warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2F4DCB; nudged cooler, #2872B8.

Work with #2f86cb in the Color Lab