Skip to content

#2c09cd

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

RGB
44, 9, 205
HSL
251°, 92%, 42%
CMYK
79, 96, 0, 20
Luminance
0.0514

At a glance

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

Hex
#2c09cd
Hue
251°
blue
Saturation
92%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0514
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
10.36:1
Closest name
Medium Blue
ΔE2000 1.8
Where it sits
Hue251° of 360°
Saturation92%
Lightness42%
Temperature
Warm ← → Cool77% 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#2c09cd
RGBrgb(44, 9, 205)
HSLhsl(251, 92%, 42%)
CMYKcmyk(79%, 96%, 0%, 20%)
LABlab(27.1 66.0 -87.9)
LCHlch(27.1 109.9 306.9)
OKLCHoklch(0.402 0.254 272.0)
Decimal2886093
Display P3color(display-p3 0.173 0.035 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c09cd on white: 10.36:1
AA ✓ pass · AA-large · AAA
Aa
#2c09cd on black: 2.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0048D2
deuteranopia · #0037CA
tritanopia · #005578

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2c09cd is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F2FD
#E8E4FB
#CCC3F9
#A694FA
#795EF8
#4D28F6
#320AEB
#2c09cd
#22079C
#1C0A71
#120646
Base = 700Lightest = 50 · #F4F2FDDarkest = 950 · #120646
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E4FB;
  --brand-200: #CCC3F9;
  --brand-300: #A694FA;
  --brand-400: #795EF8;
  --brand-500: #4D28F6;
  --brand-600: #320AEB;
  --brand-700: #2c09cd;
  --brand-800: #22079C;
  --brand-900: #1C0A71;
  --brand-950: #120646;
  --brand: #2c09cd;
  --brand-ink: #ffffff;
}

Colors that work with #2c09cd

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#C7BA05
Second voice, not a rival
Dark variant#1A057A
Hover, pressed, headers
Light variant#EBE7FE
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 #2c09cd

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#AACD09
Analogous left#0948CD
Analogous right#8E09CD
Split-complement 1#CD8E09
Split-complement 2#48CD09
Triadic 1#CD2C09
Triadic 2#09CD2C
Tetradic#CD0948

RGB percentages

Red17.3%
Green3.5%
Blue80.4%

CMYK percentages

Cyan78.5%
Magenta95.6%
Yellow0.0%
Key (black)19.6%

Color previews

#2c09cd text on a black background

contrast 2.03:1

Card sample

#2c09cd text on a white background

contrast 10.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c09cd

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.

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

#2c09cd, answered

What color is #2c09cd?

#2c09cd is a dark electric blue, closest to Medium Blue (ΔE2000 1.8). It sits at 251° on the hue wheel with 92% saturation and 42% lightness, which reads as cool.

What is the RGB value of #2c09cd?

rgb(44, 9, 205) — 44 red, 9 green and 205 blue out of 255, or 17.3% / 3.5% / 80.4% by channel.

Is #2c09cd a light or a dark color?

It is a dark color. Relative luminance is 0.0514 and perceived brightness is 29%, so white text on it reaches 10.36:1.

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

White. It scores 10.36:1 against #2c09cd, versus 2.03:1 for black — AAA at any size.

What is the complementary color of #2c09cd?

#AACD09 sits directly opposite on the wheel. Softer options are the split-complements #CD8E09 and #48CD09, which give the same contrast with far less vibration.

What colors go well with #2c09cd?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #594B9B for secondary text, #C7BA05 as an accent and #1A057A for hover and pressed states. For a palette, the analogous pair #0948CD and #8E09CD stays calm, while #AACD09 is the loudest partner.

What is #2c09cd in CMYK for printing?

cmyk(79%, 96%, 0%, 20%). 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 #2c09cd warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7409CD; nudged cooler, #0727CF.

Work with #2c09cd in the Color Lab