Skip to content

#2f9ecf

a balanced, vivid cyan · cool · closest name: Deep Sky Blue

RGB
47, 158, 207
HSL
198°, 63%, 50%
CMYK
77, 24, 0, 19
Luminance
0.2956

At a glance

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

Hex
#2f9ecf
Hue
198°
cyan
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2956
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
6.91:1
Closest name
Deep Sky Blue
ΔE2000 9.6
Where it sits
Hue198° of 360°
Saturation63%
Lightness50%
Temperature
Warm ← → Cool95% 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#2f9ecf
RGBrgb(47, 158, 207)
HSLhsl(198, 63%, 50%)
CMYKcmyk(77%, 24%, 0%, 19%)
LABlab(61.3 -14.2 -33.8)
LCHlch(61.3 36.6 247.2)
OKLCHoklch(0.660 0.120 232.3)
Decimal3120847
Display P3color(display-p3 0.184 0.620 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9ecf on white: 3.04:1
AA ✗ fail · AA-large · AAA
Aa
#2f9ecf on black: 6.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #859CD1
deuteranopia · #708DCE
tritanopia · #00ABAF

Color scale — 50 to 950

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

#F4F9FB
#E8F3F7
#CBE5F0
#A4D5EA
#76BFE0
#48AAD5
#2f9ecf
#267FA6
#1E6585
#1A4B61
#102F3C
Base = 600Lightest = 50 · #F4F9FBDarkest = 950 · #102F3C
:root {
  --brand-50: #F4F9FB;
  --brand-100: #E8F3F7;
  --brand-200: #CBE5F0;
  --brand-300: #A4D5EA;
  --brand-400: #76BFE0;
  --brand-500: #48AAD5;
  --brand-600: #2f9ecf;
  --brand-700: #267FA6;
  --brand-800: #1E6585;
  --brand-900: #1A4B61;
  --brand-950: #102F3C;
  --brand: #2f9ecf;
  --brand-ink: #000000;
}

Colors that work with #2f9ecf

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#F4F9FA
Tinted page background
Border#C0DFED
Hairlines and dividers
Muted text#4B829B
Captions on the surface
Accent#D4342A
Second voice, not a rival
Dark variant#184F68
Hover, pressed, headers
Light variant#EAF5FA
Selected rows, tints
Dark surface#141F24
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 #2f9ecf

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#CF602F
Analogous left#2FCFB0
Analogous right#2F4ECF
Split-complement 1#CF2F4E
Split-complement 2#CFB02F
Triadic 1#CF2F9E
Triadic 2#9ECF2F
Tetradic#B02FCF

RGB percentages

Red18.4%
Green62.0%
Blue81.2%

CMYK percentages

Cyan77.3%
Magenta23.7%
Yellow0.0%
Key (black)18.8%

Color previews

#2f9ecf text on a black background

contrast 6.91:1

Card sample

#2f9ecf text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9ecf

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.

#2f9ecf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#2f9ecf, answered

What color is #2f9ecf?

#2f9ecf is a balanced vivid cyan, closest to Deep Sky Blue (ΔE2000 9.6). It sits at 198° on the hue wheel with 63% saturation and 50% lightness, which reads as cool.

What is the RGB value of #2f9ecf?

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

Is #2f9ecf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2956 and perceived brightness is 56%, so black text on it reaches 6.91:1.

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

Black. It scores 6.91:1 against #2f9ecf, versus 3.04:1 for white — AA at any size.

What is the complementary color of #2f9ecf?

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

What colors go well with #2f9ecf?

For interface work: #F4F9FA as the surface, #C0DFED for borders, #4B829B for secondary text, #D4342A as an accent and #184F68 for hover and pressed states. For a palette, the analogous pair #2FCFB0 and #2F4ECF stays calm, while #CF602F is the loudest partner.

What is #2f9ecf in CMYK for printing?

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

Is #2f9ecf warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2FCFC5; nudged cooler, #2C8BD2.

Work with #2f9ecf in the Color Lab