Skip to content

#2c01f7

a balanced, electric blue · cool · closest name: Blue

RGB
44, 1, 247
HSL
251°, 99%, 49%
CMYK
82, 100, 0, 3
Luminance
0.0727

At a glance

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

Hex
#2c01f7
Hue
251°
blue
Saturation
99%
electric
Lightness
49%
balanced
Brightness
97%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0727
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.56:1
Closest name
Blue
ΔE2000 1.1
Where it sits
Hue251° of 360°
Saturation99%
Lightness49%
Temperature
Warm ← → Cool78% 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#2c01f7
RGBrgb(44, 1, 247)
HSLhsl(251, 99%, 49%)
CMYKcmyk(82%, 100%, 0%, 3%)
LABlab(32.4 77.5 -103.1)
LCHlch(32.4 129.0 306.9)
OKLCHoklch(0.453 0.298 269.5)
Decimal2884087
Display P3color(display-p3 0.173 0.004 0.969)

Copy-ready code

/* CSS */
color: #2c01f7;
background-color: #2c01f7;
/* Tailwind (arbitrary) */
class="text-[#2c01f7] bg-[#2c01f7]"
/* SCSS */
$brand: #2c01f7;
/* SwiftUI */
Color(red: 0.173, green: 0.004, blue: 0.969)
/* Android */
Color.parseColor("#2c01f7")
/* Flutter */
Color(0xFF2C01F7)
/* Python / OpenCV (BGR) */
(247, 1, 44)

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

Accessibility — WCAG contrast

Aa
#2c01f7 on white: 8.56:1
AA ✓ pass · AA-large · AAA
Aa
#2c01f7 on black: 2.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057FD
deuteranopia · #0040F4
tritanopia · #006791

Color scale — 50 to 950

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

#F3F1FE
#E8E3FC
#CBC0FB
#A38FFF
#7557FE
#461FFE
#2c01f7
#2401CB
#1D01A3
#190575
#100349
Base = 600Lightest = 50 · #F3F1FEDarkest = 950 · #100349
:root {
  --brand-50: #F3F1FE;
  --brand-100: #E8E3FC;
  --brand-200: #CBC0FB;
  --brand-300: #A38FFF;
  --brand-400: #7557FE;
  --brand-500: #461FFE;
  --brand-600: #2c01f7;
  --brand-700: #2401CB;
  --brand-800: #1D01A3;
  --brand-900: #190575;
  --brand-950: #100349;
  --brand: #2c01f7;
  --brand-ink: #ffffff;
}

Colors that work with #2c01f7

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#C8C0ED
Hairlines and dividers
Muted text#594B9B
Captions on the surface
Accent#CCBC00
Second voice, not a rival
Dark variant#17017F
Hover, pressed, headers
Light variant#EAE6FF
Selected rows, tints
Dark surface#171424
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 #2c01f7

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#CCF701
Analogous left#0151F7
Analogous right#A701F7
Split-complement 1#F7A701
Split-complement 2#51F701
Triadic 1#F72C01
Triadic 2#01F72C
Tetradic#F70151

RGB percentages

Red17.3%
Green0.4%
Blue96.9%

CMYK percentages

Cyan82.2%
Magenta99.6%
Yellow0.0%
Key (black)3.1%

Color previews

#2c01f7 text on a black background

contrast 2.45:1

Card sample

#2c01f7 text on a white background

contrast 8.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 1, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 1, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c01f7;
background: linear-gradient(135deg, #2c01f7, #D001F7);

Monochromatic scale

Palettes built from #2c01f7

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.

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

#2c01f7, answered

What color is #2c01f7?

#2c01f7 is a balanced electric blue, closest to Blue (ΔE2000 1.1). It sits at 251° on the hue wheel with 99% saturation and 49% lightness, which reads as cool.

What is the RGB value of #2c01f7?

rgb(44, 1, 247) — 44 red, 1 green and 247 blue out of 255, or 17.3% / 0.4% / 96.9% by channel.

Is #2c01f7 a light or a dark color?

It is a dark color. Relative luminance is 0.0727 and perceived brightness is 34%, so white text on it reaches 8.56:1.

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

White. It scores 8.56:1 against #2c01f7, versus 2.45:1 for black — AAA at any size.

What is the complementary color of #2c01f7?

#CCF701 sits directly opposite on the wheel. Softer options are the split-complements #F7A701 and #51F701, which give the same contrast with far less vibration.

What colors go well with #2c01f7?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #594B9B for secondary text, #CCBC00 as an accent and #17017F for hover and pressed states. For a palette, the analogous pair #0151F7 and #A701F7 stays calm, while #CCF701 is the loudest partner.

What is #2c01f7 in CMYK for printing?

cmyk(82%, 100%, 0%, 3%). 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 #2c01f7 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8601F7; nudged cooler, #001EF8.

Work with #2c01f7 in the Color Lab