Skip to content

#044eee

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

RGB
4, 78, 238
HSL
221°, 97%, 48%
CMYK
98, 67, 0, 7
Luminance
0.1165

At a glance

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

Hex
#044eee
Hue
221°
blue
Saturation
97%
electric
Lightness
48%
balanced
Brightness
93%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1165
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.31:1
Closest name
Royal Blue
ΔE2000 8.5
Where it sits
Hue221° of 360°
Saturation97%
Lightness48%
Temperature
Warm ← → Cool94% 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#044eee
RGBrgb(4, 78, 238)
HSLhsl(221, 97%, 48%)
CMYKcmyk(98%, 67%, 0%, 7%)
LABlab(40.6 44.0 -84.4)
LCHlch(40.6 95.2 297.5)
OKLCHoklch(0.505 0.247 262.9)
Decimal282350
Display P3color(display-p3 0.016 0.306 0.933)

Copy-ready code

/* CSS */
color: #044eee;
background-color: #044eee;
/* Tailwind (arbitrary) */
class="text-[#044eee] bg-[#044eee]"
/* SCSS */
$brand: #044eee;
/* SwiftUI */
Color(red: 0.016, green: 0.306, blue: 0.933)
/* Android */
Color.parseColor("#044eee")
/* Flutter */
Color(0xFF044EEE)
/* Python / OpenCV (BGR) */
(238, 78, 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#ffffff on #044eee · 6.31:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.31:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.33:1
AA fail · AA large pass · AAA fail
Reading the other direction: #044eee as text scores 6.31:1 on white and 3.33:1 on black.

Accessibility — WCAG contrast

Aa
#044eee on white: 6.31:1
AA ✓ pass · AA-large · AAA
Aa
#044eee on black: 3.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006AF3
deuteranopia · #0056EB
tritanopia · #007B98

Color scale — 50 to 950

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

#F1F5FD
#E4EBFC
#C1D3FB
#91B3FD
#598DFC
#2267FB
#044eee
#0342C9
#0335A1
#072974
#041A48
Base = 600Lightest = 50 · #F1F5FDDarkest = 950 · #041A48
:root {
  --brand-50: #F1F5FD;
  --brand-100: #E4EBFC;
  --brand-200: #C1D3FB;
  --brand-300: #91B3FD;
  --brand-400: #598DFC;
  --brand-500: #2267FB;
  --brand-600: #044eee;
  --brand-700: #0342C9;
  --brand-800: #0335A1;
  --brand-900: #072974;
  --brand-950: #041A48;
  --brand: #044eee;
  --brand-ink: #ffffff;
}

Colors that work with #044eee

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#F4F6FA
Tinted page background
Border#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#CC5800
Second voice, not a rival
Dark variant#02297D
Hover, pressed, headers
Light variant#E6EEFF
Selected rows, tints
Dark surface#141924
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 #044eee

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
  • 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#EEA404
Analogous left#04C3EE
Analogous right#2F04EE
Split-complement 1#EE2F04
Split-complement 2#C3EE04
Triadic 1#EE044E
Triadic 2#4EEE04
Tetradic#EE04C3

RGB percentages

Red1.6%
Green30.6%
Blue93.3%

CMYK percentages

Cyan98.3%
Magenta67.2%
Yellow0.0%
Key (black)6.7%

Color previews

#044eee text on a black background

contrast 3.33:1

Card sample

#044eee text on a white background

contrast 6.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #044eee;
Background color
Panel with #044eee background
background-color: #044eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #044eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(4, 78, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 78, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #044eee;
background: linear-gradient(135deg, #044eee, #5604EE);

Monochromatic scale

Palettes built from #044eee

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.

#044eee 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.

#044eee, answered

What color is #044eee?

#044eee is a balanced electric blue, closest to Royal Blue (ΔE2000 8.5). It sits at 221° on the hue wheel with 97% saturation and 48% lightness, which reads as cool.

What is the RGB value of #044eee?

rgb(4, 78, 238) — 4 red, 78 green and 238 blue out of 255, or 1.6% / 30.6% / 93.3% by channel.

Is #044eee a light or a dark color?

It is a dark color. Relative luminance is 0.1165 and perceived brightness is 39%, so white text on it reaches 6.31:1.

Should I use black or white text on #044eee?

White. It scores 6.31:1 against #044eee, versus 3.33:1 for black — AA at any size.

What is the complementary color of #044eee?

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

What colors go well with #044eee?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #CC5800 as an accent and #02297D for hover and pressed states. For a palette, the analogous pair #04C3EE and #2F04EE stays calm, while #EEA404 is the loudest partner.

What is #044eee in CMYK for printing?

cmyk(98%, 67%, 0%, 7%). 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 #044eee warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1004EE; nudged cooler, #0154D7.

Work with #044eee in the Color Lab