Skip to content

#2916cf

a dark, electric blue · cool · closest name: Medium Blue

RGB
41, 22, 207
HSL
246°, 81%, 45%
CMYK
80, 89, 0, 19
Luminance
0.0555

At a glance

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

Hex
#2916cf
Hue
246°
blue
Saturation
81%
electric
Lightness
45%
dark
Brightness
81%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0555
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.95:1
Closest name
Medium Blue
ΔE2000 2.6
Where it sits
Hue246° of 360°
Saturation81%
Lightness45%
Temperature
Warm ← → Cool80% 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#2916cf
RGBrgb(41, 22, 207)
HSLhsl(246, 81%, 45%)
CMYKcmyk(80%, 89%, 0%, 19%)
LABlab(28.2 63.3 -87.2)
LCHlch(28.2 107.7 306.0)
OKLCHoklch(0.410 0.252 270.8)
Decimal2692815
Display P3color(display-p3 0.161 0.086 0.812)

Copy-ready code

/* CSS */
color: #2916cf;
background-color: #2916cf;
/* Tailwind (arbitrary) */
class="text-[#2916cf] bg-[#2916cf]"
/* SCSS */
$brand: #2916cf;
/* SwiftUI */
Color(red: 0.161, green: 0.086, blue: 0.812)
/* Android */
Color.parseColor("#2916cf")
/* Flutter */
Color(0xFF2916CF)
/* Python / OpenCV (BGR) */
(207, 22, 41)

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 #2916cf · 9.95:1
Use #ffffffAAA at every size.
Aa
White text · 9.95:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.11:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2916cf as text scores 9.95:1 on white and 2.11:1 on black.

Accessibility — WCAG contrast

Aa
#2916cf on white: 9.95:1
AA ✓ pass · AA-large · AAA
Aa
#2916cf on black: 2.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004BD4
deuteranopia · #0039CC
tritanopia · #00587A

Color scale — 50 to 950

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

#F4F3FC
#E8E6F9
#CBC6F5
#A39AF4
#7567EF
#4734E9
#2916cf
#2514B8
#1D1094
#19106B
#100A43
Base = 600Lightest = 50 · #F4F3FCDarkest = 950 · #100A43
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E8E6F9;
  --brand-200: #CBC6F5;
  --brand-300: #A39AF4;
  --brand-400: #7567EF;
  --brand-500: #4734E9;
  --brand-600: #2916cf;
  --brand-700: #2514B8;
  --brand-800: #1D1094;
  --brand-900: #19106B;
  --brand-950: #100A43;
  --brand: #2916cf;
  --brand-ink: #ffffff;
}

Colors that work with #2916cf

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#F5F4FA
Tinted page background
Border#C4C0ED
Hairlines and dividers
Muted text#534B9B
Captions on the surface
Accent#BDA30F
Second voice, not a rival
Dark variant#170C73
Hover, pressed, headers
Light variant#EAE8FD
Selected rows, tints
Dark surface#151424
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 #2916cf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#BCCF16
Analogous left#165FCF
Analogous right#8616CF
Split-complement 1#CF8616
Split-complement 2#5FCF16
Triadic 1#CF2916
Triadic 2#16CF29
Tetradic#CF165F

RGB percentages

Red16.1%
Green8.6%
Blue81.2%

CMYK percentages

Cyan80.2%
Magenta89.4%
Yellow0.0%
Key (black)18.8%

Color previews

#2916cf text on a black background

contrast 2.11:1

Card sample

#2916cf text on a white background

contrast 9.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2916cf;
Background color
Panel with #2916cf background
background-color: #2916cf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(41, 22, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 22, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2916cf;
background: linear-gradient(135deg, #2916cf, #A416CF);

Monochromatic scale

Palettes built from #2916cf

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.

#2916cf 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#2916cf, answered

What color is #2916cf?

#2916cf is a dark electric blue, closest to Medium Blue (ΔE2000 2.6). It sits at 246° on the hue wheel with 81% saturation and 45% lightness, which reads as cool.

What is the RGB value of #2916cf?

rgb(41, 22, 207) — 41 red, 22 green and 207 blue out of 255, or 16.1% / 8.6% / 81.2% by channel.

Is #2916cf a light or a dark color?

It is a dark color. Relative luminance is 0.0555 and perceived brightness is 30%, so white text on it reaches 9.95:1.

Should I use black or white text on #2916cf?

White. It scores 9.95:1 against #2916cf, versus 2.11:1 for black — AAA at any size.

What is the complementary color of #2916cf?

#BCCF16 sits directly opposite on the wheel. Softer options are the split-complements #CF8616 and #5FCF16, which give the same contrast with far less vibration.

What colors go well with #2916cf?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #534B9B for secondary text, #BDA30F as an accent and #170C73 for hover and pressed states. For a palette, the analogous pair #165FCF and #8616CF stays calm, while #BCCF16 is the loudest partner.

What is #2916cf in CMYK for printing?

cmyk(80%, 89%, 0%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #2916cf warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6D16CF; nudged cooler, #143AD1.

Work with #2916cf in the Color Lab