Skip to content

#048acf

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

RGB
4, 138, 207
HSL
200°, 96%, 41%
CMYK
98, 33, 0, 19
Luminance
0.2271

At a glance

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

Hex
#048acf
Hue
200°
blue
Saturation
96%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2271
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.54:1
Closest name
Steel Blue
ΔE2000 5
Where it sits
Hue200° of 360°
Saturation96%
Lightness41%
Temperature
Warm ← → Cool96% 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#048acf
RGBrgb(4, 138, 207)
HSLhsl(200, 96%, 41%)
CMYKcmyk(98%, 33%, 0%, 19%)
LABlab(54.8 -5.7 -44.0)
LCHlch(54.8 44.4 262.7)
OKLCHoklch(0.607 0.142 241.8)
Decimal297679
Display P3color(display-p3 0.016 0.541 0.812)

Copy-ready code

/* CSS */
color: #048acf;
background-color: #048acf;
/* Tailwind (arbitrary) */
class="text-[#048acf] bg-[#048acf]"
/* SCSS */
$brand: #048acf;
/* SwiftUI */
Color(red: 0.016, green: 0.541, blue: 0.812)
/* Android */
Color.parseColor("#048acf")
/* Flutter */
Color(0xFF048ACF)
/* Python / OpenCV (BGR) */
(207, 138, 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 #048acf · 5.54:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.79:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.54:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #048acf as text scores 3.79:1 on white and 5.54:1 on black.

Accessibility — WCAG contrast

Aa
#048acf on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#048acf on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #698CD2
deuteranopia · #4E7CCE
tritanopia · #009BA3

Color scale — 50 to 950

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

#F1F9FD
#E4F4FC
#C1E7FA
#91D8FD
#5AC5FC
#23B1FB
#05A0F0
#048acf
#036BA0
#074F73
#043148
Base = 700Lightest = 50 · #F1F9FDDarkest = 950 · #043148
:root {
  --brand-50: #F1F9FD;
  --brand-100: #E4F4FC;
  --brand-200: #C1E7FA;
  --brand-300: #91D8FD;
  --brand-400: #5AC5FC;
  --brand-500: #23B1FB;
  --brand-600: #05A0F0;
  --brand-700: #048acf;
  --brand-800: #036BA0;
  --brand-900: #074F73;
  --brand-950: #043148;
  --brand: #048acf;
  --brand-ink: #000000;
}

Colors that work with #048acf

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#C0DDED
Hairlines and dividers
Muted text#4B809B
Captions on the surface
Accent#D31300
Second voice, not a rival
Dark variant#02537D
Hover, pressed, headers
Light variant#E6F6FF
Selected rows, tints
Dark surface#141F24
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 #048acf

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#CF4904
Analogous left#04CFAF
Analogous right#0425CF
Split-complement 1#CF0425
Split-complement 2#CFAF04
Triadic 1#CF048A
Triadic 2#8ACF04
Tetradic#AF04CF

RGB percentages

Red1.6%
Green54.1%
Blue81.2%

CMYK percentages

Cyan98.1%
Magenta33.3%
Yellow0.0%
Key (black)18.8%

Color previews

#048acf text on a black background

contrast 5.54:1

Card sample

#048acf text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(4, 138, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 138, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #048acf;
background: linear-gradient(135deg, #048acf, #0504CF);

Monochromatic scale

Palettes built from #048acf

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.

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

#048acf, answered

What color is #048acf?

#048acf is a dark electric blue, closest to Steel Blue (ΔE2000 5). It sits at 200° on the hue wheel with 96% saturation and 41% lightness, which reads as cool.

What is the RGB value of #048acf?

rgb(4, 138, 207) — 4 red, 138 green and 207 blue out of 255, or 1.6% / 54.1% / 81.2% by channel.

Is #048acf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2271 and perceived brightness is 50%, so black text on it reaches 5.54:1.

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

Black. It scores 5.54:1 against #048acf, versus 3.79:1 for white — AA at any size.

What is the complementary color of #048acf?

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

What colors go well with #048acf?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B809B for secondary text, #D31300 as an accent and #02537D for hover and pressed states. For a palette, the analogous pair #04CFAF and #0425CF stays calm, while #CF4904 is the loudest partner.

What is #048acf in CMYK for printing?

cmyk(98%, 33%, 0%, 19%). 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 #048acf warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #04CFCA; nudged cooler, #0269B8.

Work with #048acf in the Color Lab