Skip to content

#2f9dcf

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

RGB
47, 157, 207
HSL
199°, 63%, 50%
CMYK
77, 24, 0, 19
Luminance
0.2922

At a glance

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

Hex
#2f9dcf
Hue
199°
cyan
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2922
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
6.84:1
Closest name
Deep Sky Blue
ΔE2000 9.9
Where it sits
Hue199° 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#2f9dcf
RGBrgb(47, 157, 207)
HSLhsl(199, 63%, 50%)
CMYKcmyk(77%, 24%, 0%, 19%)
LABlab(61.0 -13.6 -34.3)
LCHlch(61.0 36.9 248.3)
OKLCHoklch(0.657 0.121 233.1)
Decimal3120591
Display P3color(display-p3 0.184 0.616 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9dcf on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#2f9dcf on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #849CD1
deuteranopia · #6F8CCE
tritanopia · #00AAAE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f9dcf 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
#A4D4EA
#76BFE0
#48A9D5
#2f9dcf
#267EA6
#1E6585
#1A4A61
#102F3C
Base = 600Lightest = 50 · #F4F9FBDarkest = 950 · #102F3C
:root {
  --brand-50: #F4F9FB;
  --brand-100: #E8F3F7;
  --brand-200: #CBE5F0;
  --brand-300: #A4D4EA;
  --brand-400: #76BFE0;
  --brand-500: #48A9D5;
  --brand-600: #2f9dcf;
  --brand-700: #267EA6;
  --brand-800: #1E6585;
  --brand-900: #1A4A61;
  --brand-950: #102F3C;
  --brand: #2f9dcf;
  --brand-ink: #000000;
}

Colors that work with #2f9dcf

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#C0DFED
Hairlines and dividers
Muted text#4B829B
Captions on the surface
Accent#D4352A
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 #2f9dcf

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#CF612F
Analogous left#2FCFB1
Analogous right#2F4DCF
Split-complement 1#CF2F4D
Split-complement 2#CFB12F
Triadic 1#CF2F9D
Triadic 2#9DCF2F
Tetradic#B12FCF

RGB percentages

Red18.4%
Green61.6%
Blue81.2%

CMYK percentages

Cyan77.3%
Magenta24.2%
Yellow0.0%
Key (black)18.8%

Color previews

#2f9dcf text on a black background

contrast 6.84:1

Card sample

#2f9dcf text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f9dcf

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.

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

#2f9dcf, answered

What color is #2f9dcf?

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

What is the RGB value of #2f9dcf?

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

Is #2f9dcf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2922 and perceived brightness is 55%, so black text on it reaches 6.84:1.

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

Black. It scores 6.84:1 against #2f9dcf, versus 3.07:1 for white — AA at any size.

What is the complementary color of #2f9dcf?

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

What colors go well with #2f9dcf?

For interface work: #F4F8FA as the surface, #C0DFED for borders, #4B829B for secondary text, #D4352A as an accent and #184F68 for hover and pressed states. For a palette, the analogous pair #2FCFB1 and #2F4DCF stays calm, while #CF612F is the loudest partner.

What is #2f9dcf 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 #2f9dcf 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 #2FCFC6; nudged cooler, #2C8BD2.

Work with #2f9dcf in the Color Lab