Skip to content

#1002db

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

RGB
16, 2, 219
HSL
244°, 98%, 43%
CMYK
93, 99, 0, 14
Luminance
0.0527

At a glance

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

Hex
#1002db
Hue
244°
blue
Saturation
98%
electric
Lightness
43%
dark
Brightness
86%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0527
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Electric
Best ink
White
10.23:1
Closest name
Medium Blue
ΔE2000 2
Where it sits
Hue244° of 360°
Saturation98%
Lightness43%
Temperature
Warm ← → Cool81% 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#1002db
RGBrgb(16, 2, 219)
HSLhsl(244, 98%, 43%)
CMYKcmyk(93%, 99%, 0%, 14%)
LABlab(27.5 70.3 -95.4)
LCHlch(27.5 118.5 306.4)
OKLCHoklch(0.407 0.276 265.6)
Decimal1049307
Display P3color(display-p3 0.063 0.008 0.859)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#1002db on white: 10.23:1
AA ✓ pass · AA-large · AAA
Aa
#1002db on black: 2.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004CE0
deuteranopia · #0035D8
tritanopia · #005B80

Color scale — 50 to 950

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

#F2F1FD
#E5E3FC
#C4C1FB
#9790FE
#6358FD
#2F21FD
#1202F3
#1002db
#0C01A2
#0D0674
#080449
Base = 700Lightest = 50 · #F2F1FDDarkest = 950 · #080449
:root {
  --brand-50: #F2F1FD;
  --brand-100: #E5E3FC;
  --brand-200: #C4C1FB;
  --brand-300: #9790FE;
  --brand-400: #6358FD;
  --brand-500: #2F21FD;
  --brand-600: #1202F3;
  --brand-700: #1002db;
  --brand-800: #0C01A2;
  --brand-900: #0D0674;
  --brand-950: #080449;
  --brand: #1002db;
  --brand-ink: #ffffff;
}

Colors that work with #1002db

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#C3C0ED
Hairlines and dividers
Muted text#504B9B
Captions on the surface
Accent#CCA600
Second voice, not a rival
Dark variant#09017E
Hover, pressed, headers
Light variant#E7E6FF
Selected rows, tints
Dark surface#151424
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 #1002db

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#CDDB02
Analogous left#0260DB
Analogous right#7D02DB
Split-complement 1#DB7D02
Split-complement 2#60DB02
Triadic 1#DB1002
Triadic 2#02DB10
Tetradic#DB0260

RGB percentages

Red6.3%
Green0.8%
Blue85.9%

CMYK percentages

Cyan92.7%
Magenta99.1%
Yellow0.0%
Key (black)14.1%

Color previews

#1002db text on a black background

contrast 2.05:1

Card sample

#1002db text on a white background

contrast 10.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1002db

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.

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

#1002db, answered

What color is #1002db?

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

What is the RGB value of #1002db?

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

Is #1002db a light or a dark color?

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

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

White. It scores 10.23:1 against #1002db, versus 2.05:1 for black — AAA at any size.

What is the complementary color of #1002db?

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

What colors go well with #1002db?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #504B9B for secondary text, #CCA600 as an accent and #09017E for hover and pressed states. For a palette, the analogous pair #0260DB and #7D02DB stays calm, while #CDDB02 is the loudest partner.

What is #1002db in CMYK for printing?

cmyk(93%, 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 #1002db warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6002DB; nudged cooler, #002BDD.

Work with #1002db in the Color Lab