Skip to content

#399df4

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

RGB
57, 157, 244
HSL
208°, 90%, 59%
CMYK
77, 36, 0, 4
Luminance
0.3152

At a glance

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

Hex
#399df4
Hue
208°
blue
Saturation
90%
electric
Lightness
59%
balanced
Brightness
96%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3152
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.30:1
Closest name
Dodger Blue
ΔE2000 4.4
Where it sits
Hue208° of 360°
Saturation90%
Lightness59%
Temperature
Warm ← → Cool99% 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#399df4
RGBrgb(57, 157, 244)
HSLhsl(208, 90%, 59%)
CMYKcmyk(77%, 36%, 0%, 4%)
LABlab(62.9 0.4 -51.6)
LCHlch(62.9 51.6 270.5)
OKLCHoklch(0.679 0.158 248.9)
Decimal3775988
Display P3color(display-p3 0.224 0.616 0.957)

Copy-ready code

/* CSS */
color: #399df4;
background-color: #399df4;
/* Tailwind (arbitrary) */
class="text-[#399df4] bg-[#399df4]"
/* SCSS */
$brand: #399df4;
/* SwiftUI */
Color(red: 0.224, green: 0.616, blue: 0.957)
/* Android */
Color.parseColor("#399df4")
/* Flutter */
Color(0xFF399DF4)
/* Python / OpenCV (BGR) */
(244, 157, 57)

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 #399df4 · 7.30:1
Use #000000AAA at every size.
Aa
White text · 2.88:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.30:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #399df4 as text scores 2.88:1 on white and 7.30:1 on black.

Accessibility — WCAG contrast

Aa
#399df4 on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#399df4 on black: 7.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #74A2F8
deuteranopia · #5991F2
tritanopia · #00B2BD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #399df4 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F8FD
#E5F0FB
#C3E0F8
#95CAF9
#60B0F6
#399df4
#0D82E8
#0B6CC1
#09579B
#0B4170
#072846
Base = 500Lightest = 50 · #F2F8FDDarkest = 950 · #072846
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E5F0FB;
  --brand-200: #C3E0F8;
  --brand-300: #95CAF9;
  --brand-400: #60B0F6;
  --brand-500: #399df4;
  --brand-600: #0D82E8;
  --brand-700: #0B6CC1;
  --brand-800: #09579B;
  --brand-900: #0B4170;
  --brand-950: #072846;
  --brand: #399df4;
  --brand-ink: #000000;
}

Colors that work with #399df4

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#C0D8ED
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#C53007
Second voice, not a rival
Dark variant#074479
Hover, pressed, headers
Light variant#E7F3FE
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 #399df4

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#F49039
Analogous left#39F4ED
Analogous right#393FF4
Split-complement 1#F4393F
Split-complement 2#F4ED39
Triadic 1#F4399D
Triadic 2#9DF439
Tetradic#ED39F4

RGB percentages

Red22.4%
Green61.6%
Blue95.7%

CMYK percentages

Cyan76.6%
Magenta35.7%
Yellow0.0%
Key (black)4.3%

Color previews

#399df4 text on a black background

contrast 7.30:1

Card sample

#399df4 text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #399df4;
Background color
Panel with #399df4 background
background-color: #399df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #399df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 157, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 157, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #399df4;
background: linear-gradient(135deg, #399df4, #5239F4);

Monochromatic scale

Palettes built from #399df4

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.

#399df4 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.

#399df4, answered

What color is #399df4?

#399df4 is a balanced electric blue, closest to Dodger Blue (ΔE2000 4.4). It sits at 208° on the hue wheel with 90% saturation and 59% lightness, which reads as cool.

What is the RGB value of #399df4?

rgb(57, 157, 244) — 57 red, 157 green and 244 blue out of 255, or 22.4% / 61.6% / 95.7% by channel.

Is #399df4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3152 and perceived brightness is 58%, so black text on it reaches 7.30:1.

Should I use black or white text on #399df4?

Black. It scores 7.30:1 against #399df4, versus 2.88:1 for white — AAA at any size.

What is the complementary color of #399df4?

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

What colors go well with #399df4?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B769B for secondary text, #C53007 as an accent and #074479 for hover and pressed states. For a palette, the analogous pair #39F4ED and #393FF4 stays calm, while #F49039 is the loudest partner.

What is #399df4 in CMYK for printing?

cmyk(77%, 36%, 0%, 4%). 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 #399df4 warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3958F4; nudged cooler, #1E8AF5.

Work with #399df4 in the Color Lab