Skip to content

#030df9

a balanced, electric blue · cool · “Blue”

RGB
3, 13, 249
HSL
238°, 98%, 49%
CMYK
99, 95, 0, 2
Luminance
0.0715

At a glance

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

Hex
#030df9
Hue
238°
blue
Saturation
98%
electric
Lightness
49%
balanced
Brightness
98%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0715
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.64:1
Closest name
Blue
ΔE2000 0.7
Where it sits
Hue238° of 360°
Saturation98%
Lightness49%
Temperature
Warm ← → Cool85% 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#030df9
RGBrgb(3, 13, 249)
HSLhsl(238, 98%, 49%)
CMYKcmyk(99%, 95%, 0%, 2%)
LABlab(32.1 75.8 -104.8)
LCHlch(32.1 129.3 305.9)
OKLCHoklch(0.449 0.304 264.3)
Decimal200185
Display P3color(display-p3 0.012 0.051 0.976)

Copy-ready code

/* CSS */
color: #030df9;
background-color: #030df9;
/* Tailwind (arbitrary) */
class="text-[#030df9] bg-[#030df9]"
/* SCSS */
$brand: #030df9;
/* SwiftUI */
Color(red: 0.012, green: 0.051, blue: 0.976)
/* Android */
Color.parseColor("#030df9")
/* Flutter */
Color(0xFF030DF9)
/* Python / OpenCV (BGR) */
(249, 13, 3)

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

Accessibility — WCAG contrast

Aa
#030df9 on white: 8.64:1
AA ✓ pass · AA-large · AAA
Aa
#030df9 on black: 2.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058FF
deuteranopia · #003EF6
tritanopia · #006A93

Color scale — 50 to 950

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

#F1F2FD
#E4E4FC
#C1C3FB
#9095FE
#595FFD
#212AFC
#030df9
#020ACA
#0208A1
#060B74
#040749
Base = 600Lightest = 50 · #F1F2FDDarkest = 950 · #040749
:root {
  --brand-50: #F1F2FD;
  --brand-100: #E4E4FC;
  --brand-200: #C1C3FB;
  --brand-300: #9095FE;
  --brand-400: #595FFD;
  --brand-500: #212AFC;
  --brand-600: #030df9;
  --brand-700: #020ACA;
  --brand-800: #0208A1;
  --brand-900: #060B74;
  --brand-950: #040749;
  --brand: #030df9;
  --brand-ink: #ffffff;
}

Colors that work with #030df9

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#F4F5FA
Tinted page background
Border#C0C2ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#CC9100
Second voice, not a rival
Dark variant#02077E
Hover, pressed, headers
Light variant#E6E7FF
Selected rows, tints
Dark surface#141424
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 #030df9

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#F9EF03
Analogous left#0388F9
Analogous right#7403F9
Split-complement 1#F97403
Split-complement 2#88F903
Triadic 1#F9030D
Triadic 2#0DF903
Tetradic#F90388

RGB percentages

Red1.2%
Green5.1%
Blue97.6%

CMYK percentages

Cyan98.8%
Magenta94.8%
Yellow0.0%
Key (black)2.4%

Color previews

#030df9 text on a black background

contrast 2.43:1

Card sample

#030df9 text on a white background

contrast 8.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #030df9;
Background color
Panel with #030df9 background
background-color: #030df9;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 13, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 13, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #030df9;
background: linear-gradient(135deg, #030df9, #9D03F9);

Monochromatic scale

Palettes built from #030df9

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.

#030df9 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.

#030df9, answered

What color is #030df9?

#030df9 is a balanced electric blue — the CSS keyword Blue. It sits at 238° on the hue wheel with 98% saturation and 49% lightness, which reads as cool.

What is the RGB value of #030df9?

rgb(3, 13, 249) — 3 red, 13 green and 249 blue out of 255, or 1.2% / 5.1% / 97.6% by channel.

Is #030df9 a light or a dark color?

It is a dark color. Relative luminance is 0.0715 and perceived brightness is 33%, so white text on it reaches 8.64:1.

Should I use black or white text on #030df9?

White. It scores 8.64:1 against #030df9, versus 2.43:1 for black — AAA at any size.

What is the complementary color of #030df9?

#F9EF03 sits directly opposite on the wheel. Softer options are the split-complements #F97403 and #88F903, which give the same contrast with far less vibration.

What colors go well with #030df9?

For interface work: #F4F5FA as the surface, #C0C2ED for borders, #4B4E9B for secondary text, #CC9100 as an accent and #02077E for hover and pressed states. For a palette, the analogous pair #0388F9 and #7403F9 stays calm, while #F9EF03 is the loudest partner.

What is #030df9 in CMYK for printing?

cmyk(99%, 95%, 0%, 2%). 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 #030df9 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5303F9; nudged cooler, #013AFB.

Work with #030df9 in the Color Lab