Skip to content

#2c07df

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

RGB
44, 7, 223
HSL
250°, 94%, 45%
CMYK
80, 97, 0, 13
Luminance
0.0602

At a glance

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

Hex
#2c07df
Hue
250°
blue
Saturation
94%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0602
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.53:1
Closest name
Blue
ΔE2000 3.4
Where it sits
Hue250° of 360°
Saturation94%
Lightness45%
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#2c07df
RGBrgb(44, 7, 223)
HSLhsl(250, 94%, 45%)
CMYKcmyk(80%, 97%, 0%, 13%)
LABlab(29.4 70.8 -94.4)
LCHlch(29.4 118.0 306.9)
OKLCHoklch(0.424 0.273 270.8)
Decimal2885599
Display P3color(display-p3 0.173 0.027 0.875)

Copy-ready code

/* CSS */
color: #2c07df;
background-color: #2c07df;
/* Tailwind (arbitrary) */
class="text-[#2c07df] bg-[#2c07df]"
/* SCSS */
$brand: #2c07df;
/* SwiftUI */
Color(red: 0.173, green: 0.027, blue: 0.875)
/* Android */
Color.parseColor("#2c07df")
/* Flutter */
Color(0xFF2C07DF)
/* Python / OpenCV (BGR) */
(223, 7, 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 #2c07df · 9.53:1
Use #ffffffAAA at every size.
Aa
White text · 9.53:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.20:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2c07df as text scores 9.53:1 on white and 2.20:1 on black.

Accessibility — WCAG contrast

Aa
#2c07df on white: 9.53:1
AA ✓ pass · AA-large · AAA
Aa
#2c07df on black: 2.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004FE4
deuteranopia · #003BDC
tritanopia · #005D83

Color scale — 50 to 950

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

#F4F2FD
#E8E4FB
#CCC2FA
#A492FC
#775CFA
#4A25F8
#2c07df
#2706C6
#1F059E
#1A0872
#110547
Base = 600Lightest = 50 · #F4F2FDDarkest = 950 · #110547
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E4FB;
  --brand-200: #CCC2FA;
  --brand-300: #A492FC;
  --brand-400: #775CFA;
  --brand-500: #4A25F8;
  --brand-600: #2c07df;
  --brand-700: #2706C6;
  --brand-800: #1F059E;
  --brand-900: #1A0872;
  --brand-950: #110547;
  --brand: #2c07df;
  --brand-ink: #ffffff;
}

Colors that work with #2c07df

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#C7C0ED
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#CABA02
Second voice, not a rival
Dark variant#18047C
Hover, pressed, headers
Light variant#EAE6FE
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 #2c07df

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#BADF07
Analogous left#074EDF
Analogous right#9807DF
Split-complement 1#DF9807
Split-complement 2#4EDF07
Triadic 1#DF2C07
Triadic 2#07DF2C
Tetradic#DF074E

RGB percentages

Red17.3%
Green2.7%
Blue87.5%

CMYK percentages

Cyan80.3%
Magenta96.9%
Yellow0.0%
Key (black)12.5%

Color previews

#2c07df text on a black background

contrast 2.20:1

Card sample

#2c07df text on a white background

contrast 9.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c07df

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.

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

#2c07df, answered

What color is #2c07df?

#2c07df is a balanced electric blue, closest to Blue (ΔE2000 3.4). It sits at 250° on the hue wheel with 94% saturation and 45% lightness, which reads as cool.

What is the RGB value of #2c07df?

rgb(44, 7, 223) — 44 red, 7 green and 223 blue out of 255, or 17.3% / 2.7% / 87.5% by channel.

Is #2c07df a light or a dark color?

It is a dark color. Relative luminance is 0.0602 and perceived brightness is 31%, so white text on it reaches 9.53:1.

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

White. It scores 9.53:1 against #2c07df, versus 2.20:1 for black — AAA at any size.

What is the complementary color of #2c07df?

#BADF07 sits directly opposite on the wheel. Softer options are the split-complements #DF9807 and #4EDF07, which give the same contrast with far less vibration.

What colors go well with #2c07df?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #584B9B for secondary text, #CABA02 as an accent and #18047C for hover and pressed states. For a palette, the analogous pair #074EDF and #9807DF stays calm, while #BADF07 is the loudest partner.

What is #2c07df in CMYK for printing?

cmyk(80%, 97%, 0%, 13%). 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 #2c07df 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 #7B07DF; nudged cooler, #0525E1.

Work with #2c07df in the Color Lab