Skip to content

#2b05df

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

RGB
43, 5, 223
HSL
251°, 96%, 45%
CMYK
81, 98, 0, 13
Luminance
0.0595

At a glance

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

Hex
#2b05df
Hue
251°
blue
Saturation
96%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0595
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.59:1
Closest name
Medium Blue
ΔE2000 3.3
Where it sits
Hue251° of 360°
Saturation96%
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#2b05df
RGBrgb(43, 5, 223)
HSLhsl(251, 96%, 45%)
CMYKcmyk(81%, 98%, 0%, 13%)
LABlab(29.3 71.2 -94.7)
LCHlch(29.3 118.5 306.9)
OKLCHoklch(0.423 0.273 270.6)
Decimal2819551
Display P3color(display-p3 0.169 0.020 0.875)

Copy-ready code

/* CSS */
color: #2b05df;
background-color: #2b05df;
/* Tailwind (arbitrary) */
class="text-[#2b05df] bg-[#2b05df]"
/* SCSS */
$brand: #2b05df;
/* SwiftUI */
Color(red: 0.169, green: 0.020, blue: 0.875)
/* Android */
Color.parseColor("#2b05df")
/* Flutter */
Color(0xFF2B05DF)
/* Python / OpenCV (BGR) */
(223, 5, 43)

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

Accessibility — WCAG contrast

Aa
#2b05df on white: 9.59:1
AA ✓ pass · AA-large · AAA
Aa
#2b05df on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004EE4
deuteranopia · #003ADC
tritanopia · #005D83

Color scale — 50 to 950

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

#F3F1FD
#E8E4FC
#CBC1FA
#A491FD
#775AFB
#4924FA
#2b05df
#2704C8
#1F04A0
#1A0773
#100548
Base = 600Lightest = 50 · #F3F1FDDarkest = 950 · #100548
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E8E4FC;
  --brand-200: #CBC1FA;
  --brand-300: #A491FD;
  --brand-400: #775AFB;
  --brand-500: #4924FA;
  --brand-600: #2b05df;
  --brand-700: #2704C8;
  --brand-800: #1F04A0;
  --brand-900: #1A0773;
  --brand-950: #100548;
  --brand: #2b05df;
  --brand-ink: #ffffff;
}

Colors that work with #2b05df

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#18037D
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 #2b05df

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#B9DF05
Analogous left#054CDF
Analogous right#9805DF
Split-complement 1#DF9805
Split-complement 2#4CDF05
Triadic 1#DF2B05
Triadic 2#05DF2B
Tetradic#DF054C

RGB percentages

Red16.9%
Green2.0%
Blue87.5%

CMYK percentages

Cyan80.7%
Magenta97.8%
Yellow0.0%
Key (black)12.5%

Color previews

#2b05df text on a black background

contrast 2.19:1

Card sample

#2b05df text on a white background

contrast 9.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b05df

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.

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

#2b05df, answered

What color is #2b05df?

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

What is the RGB value of #2b05df?

rgb(43, 5, 223) — 43 red, 5 green and 223 blue out of 255, or 16.9% / 2% / 87.5% by channel.

Is #2b05df a light or a dark color?

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

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

White. It scores 9.59:1 against #2b05df, versus 2.19:1 for black — AAA at any size.

What is the complementary color of #2b05df?

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

What colors go well with #2b05df?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #594B9B for secondary text, #CCBC00 as an accent and #18037D for hover and pressed states. For a palette, the analogous pair #054CDF and #9805DF stays calm, while #B9DF05 is the loudest partner.

What is #2b05df in CMYK for printing?

cmyk(81%, 98%, 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 #2b05df 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 #7B05DF; nudged cooler, #0322E1.

Work with #2b05df in the Color Lab