Skip to content

#048df1

a balanced, electric blue · cool · closest name: Dodger Blue

RGB
4, 141, 241
HSL
205°, 97%, 48%
CMYK
98, 42, 0, 6
Luminance
0.2543

At a glance

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

Hex
#048df1
Hue
205°
blue
Saturation
97%
electric
Lightness
48%
balanced
Brightness
95%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2543
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.09:1
Closest name
Dodger Blue
ΔE2000 2.3
Where it sits
Hue205° of 360°
Saturation97%
Lightness48%
Temperature
Warm ← → Cool98% 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#048df1
RGBrgb(4, 141, 241)
HSLhsl(205, 97%, 48%)
CMYKcmyk(98%, 42%, 0%, 6%)
LABlab(57.5 5.5 -58.7)
LCHlch(57.5 59.0 275.4)
OKLCHoklch(0.634 0.179 250.2)
Decimal298481
Display P3color(display-p3 0.016 0.553 0.945)

Copy-ready code

/* CSS */
color: #048df1;
background-color: #048df1;
/* Tailwind (arbitrary) */
class="text-[#048df1] bg-[#048df1]"
/* SCSS */
$brand: #048df1;
/* SwiftUI */
Color(red: 0.016, green: 0.553, blue: 0.945)
/* Android */
Color.parseColor("#048df1")
/* Flutter */
Color(0xFF048DF1)
/* Python / OpenCV (BGR) */
(241, 141, 4)

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#000000 on #048df1 · 6.09:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.45:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.09:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #048df1 as text scores 3.45:1 on white and 6.09:1 on black.

Accessibility — WCAG contrast

Aa
#048df1 on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#048df1 on black: 6.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5994F5
deuteranopia · #3081EF
tritanopia · #00A5B3

Color scale — 50 to 950

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

#F1F8FD
#E4F2FC
#C1E2FB
#91CFFD
#59B8FC
#22A0FB
#048df1
#0375C9
#035EA1
#074674
#042C48
Base = 600Lightest = 50 · #F1F8FDDarkest = 950 · #042C48
:root {
  --brand-50: #F1F8FD;
  --brand-100: #E4F2FC;
  --brand-200: #C1E2FB;
  --brand-300: #91CFFD;
  --brand-400: #59B8FC;
  --brand-500: #22A0FB;
  --brand-600: #048df1;
  --brand-700: #0375C9;
  --brand-800: #035EA1;
  --brand-900: #074674;
  --brand-950: #042C48;
  --brand: #048df1;
  --brand-ink: #000000;
}

Colors that work with #048df1

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DAED
Hairlines and dividers
Muted text#4B799B
Captions on the surface
Accent#F52A00
Second voice, not a rival
Dark variant#02497D
Hover, pressed, headers
Light variant#E6F4FF
Selected rows, tints
Dark surface#141D24
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 #048df1

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#F16804
Analogous left#04F1DE
Analogous right#0417F1
Split-complement 1#F10417
Split-complement 2#F1DE04
Triadic 1#F1048D
Triadic 2#8DF104
Tetradic#DE04F1

RGB percentages

Red1.6%
Green55.3%
Blue94.5%

CMYK percentages

Cyan98.3%
Magenta41.5%
Yellow0.0%
Key (black)5.5%

Color previews

#048df1 text on a black background

contrast 6.09:1

Card sample

#048df1 text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #048df1;
Background color
Panel with #048df1 background
background-color: #048df1;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(4, 141, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 141, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #048df1;
background: linear-gradient(135deg, #048df1, #1904F1);

Monochromatic scale

Palettes built from #048df1

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.

#048df1 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.

#048df1, answered

What color is #048df1?

#048df1 is a balanced electric blue, closest to Dodger Blue (ΔE2000 2.3). It sits at 205° on the hue wheel with 97% saturation and 48% lightness, which reads as cool.

What is the RGB value of #048df1?

rgb(4, 141, 241) — 4 red, 141 green and 241 blue out of 255, or 1.6% / 55.3% / 94.5% by channel.

Is #048df1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2543 and perceived brightness is 53%, so black text on it reaches 6.09:1.

Should I use black or white text on #048df1?

Black. It scores 6.09:1 against #048df1, versus 3.45:1 for white — AA at any size.

What is the complementary color of #048df1?

#F16804 sits directly opposite on the wheel. Softer options are the split-complements #F10417 and #F1DE04, which give the same contrast with far less vibration.

What colors go well with #048df1?

For interface work: #F4F8FA as the surface, #C0DAED for borders, #4B799B for secondary text, #F52A00 as an accent and #02497D for hover and pressed states. For a palette, the analogous pair #04F1DE and #0417F1 stays calm, while #F16804 is the loudest partner.

What is #048df1 in CMYK for printing?

cmyk(98%, 42%, 0%, 6%). 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 #048df1 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #13AEFB; nudged cooler, #0174DA.

Work with #048df1 in the Color Lab