Skip to content

#3002db

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

RGB
48, 2, 219
HSL
253°, 98%, 43%
CMYK
78, 99, 0, 14
Luminance
0.0579

At a glance

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

Hex
#3002db
Hue
253°
blue
Saturation
98%
electric
Lightness
43%
dark
Brightness
86%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0579
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.73:1
Closest name
Medium Blue
ΔE2000 3.1
Where it sits
Hue253° of 360°
Saturation98%
Lightness43%
Temperature
Warm ← → Cool76% 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#3002db
RGBrgb(48, 2, 219)
HSLhsl(253, 98%, 43%)
CMYKcmyk(78%, 99%, 0%, 14%)
LABlab(28.9 70.8 -93.1)
LCHlch(28.9 117.0 307.3)
OKLCHoklch(0.420 0.269 272.2)
Decimal3146459
Display P3color(display-p3 0.188 0.008 0.859)

Copy-ready code

/* CSS */
color: #3002db;
background-color: #3002db;
/* Tailwind (arbitrary) */
class="text-[#3002db] bg-[#3002db]"
/* SCSS */
$brand: #3002db;
/* SwiftUI */
Color(red: 0.188, green: 0.008, blue: 0.859)
/* Android */
Color.parseColor("#3002db")
/* Flutter */
Color(0xFF3002DB)
/* Python / OpenCV (BGR) */
(219, 2, 48)

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

Accessibility — WCAG contrast

Aa
#3002db on white: 9.73:1
AA ✓ pass · AA-large · AAA
Aa
#3002db on black: 2.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004DE0
deuteranopia · #003AD8
tritanopia · #005A80

Color scale — 50 to 950

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

#F4F1FD
#E9E3FC
#CDC1FB
#A790FE
#7B58FD
#4F21FD
#3502F3
#3002db
#2301A2
#1D0674
#120449
Base = 700Lightest = 50 · #F4F1FDDarkest = 950 · #120449
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E9E3FC;
  --brand-200: #CDC1FB;
  --brand-300: #A790FE;
  --brand-400: #7B58FD;
  --brand-500: #4F21FD;
  --brand-600: #3502F3;
  --brand-700: #3002db;
  --brand-800: #2301A2;
  --brand-900: #1D0674;
  --brand-950: #120449;
  --brand: #3002db;
  --brand-ink: #ffffff;
}

Colors that work with #3002db

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#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5C4B9B
Captions on the surface
Accent#CCC400
Second voice, not a rival
Dark variant#1C017E
Hover, pressed, headers
Light variant#EBE6FF
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 #3002db

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#ADDB02
Analogous left#0241DB
Analogous right#9C02DB
Split-complement 1#DB9C02
Split-complement 2#41DB02
Triadic 1#DB3002
Triadic 2#02DB30
Tetradic#DB0241

RGB percentages

Red18.8%
Green0.8%
Blue85.9%

CMYK percentages

Cyan78.1%
Magenta99.1%
Yellow0.0%
Key (black)14.1%

Color previews

#3002db text on a black background

contrast 2.16:1

Card sample

#3002db text on a white background

contrast 9.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3002db;
Background color
Panel with #3002db background
background-color: #3002db;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 2, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 2, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3002db;
background: linear-gradient(135deg, #3002db, #C002DB);

Monochromatic scale

Palettes built from #3002db

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.

#3002db 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.

#3002db, answered

What color is #3002db?

#3002db is a dark electric blue, closest to Medium Blue (ΔE2000 3.1). It sits at 253° on the hue wheel with 98% saturation and 43% lightness, which reads as cool.

What is the RGB value of #3002db?

rgb(48, 2, 219) — 48 red, 2 green and 219 blue out of 255, or 18.8% / 0.8% / 85.9% by channel.

Is #3002db a light or a dark color?

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

Should I use black or white text on #3002db?

White. It scores 9.73:1 against #3002db, versus 2.16:1 for black — AAA at any size.

What is the complementary color of #3002db?

#ADDB02 sits directly opposite on the wheel. Softer options are the split-complements #DB9C02 and #41DB02, which give the same contrast with far less vibration.

What colors go well with #3002db?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5C4B9B for secondary text, #CCC400 as an accent and #1C017E for hover and pressed states. For a palette, the analogous pair #0241DB and #9C02DB stays calm, while #ADDB02 is the loudest partner.

What is #3002db in CMYK for printing?

cmyk(78%, 99%, 0%, 14%). 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 #3002db warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7F02DB; nudged cooler, #001BDD.

Work with #3002db in the Color Lab