Skip to content

#307dfd

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

RGB
48, 125, 253
HSL
218°, 98%, 59%
CMYK
81, 51, 0, 1
Luminance
0.2239

At a glance

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

Hex
#307dfd
Hue
218°
blue
Saturation
98%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2239
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.48:1
Closest name
Dodger Blue
ΔE2000 7.2
Where it sits
Hue218° of 360°
Saturation98%
Lightness59%
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#307dfd
RGBrgb(48, 125, 253)
HSLhsl(218, 98%, 59%)
CMYKcmyk(81%, 51%, 0%, 1%)
LABlab(54.4 22.1 -70.2)
LCHlch(54.4 73.6 287.5)
OKLCHoklch(0.615 0.205 260.2)
Decimal3177981
Display P3color(display-p3 0.188 0.490 0.992)

Copy-ready code

/* CSS */
color: #307dfd;
background-color: #307dfd;
/* Tailwind (arbitrary) */
class="text-[#307dfd] bg-[#307dfd]"
/* SCSS */
$brand: #307dfd;
/* SwiftUI */
Color(red: 0.188, green: 0.490, blue: 0.992)
/* Android */
Color.parseColor("#307dfd")
/* Flutter */
Color(0xFF307DFD)
/* Python / OpenCV (BGR) */
(253, 125, 48)

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

Accessibility — WCAG contrast

Aa
#307dfd on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#307dfd on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #268CFF
deuteranopia · #0079FA
tritanopia · #009CB1

Color scale — 50 to 950

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

#F1F6FD
#E3EDFC
#C1D7FB
#90B9FE
#5896FD
#307dfd
#025CF2
#024DCA
#023EA2
#062F74
#041E49
Base = 500Lightest = 50 · #F1F6FDDarkest = 950 · #041E49
:root {
  --brand-50: #F1F6FD;
  --brand-100: #E3EDFC;
  --brand-200: #C1D7FB;
  --brand-300: #90B9FE;
  --brand-400: #5896FD;
  --brand-500: #307dfd;
  --brand-600: #025CF2;
  --brand-700: #024DCA;
  --brand-800: #023EA2;
  --brand-900: #062F74;
  --brand-950: #041E49;
  --brand: #307dfd;
  --brand-ink: #000000;
}

Colors that work with #307dfd

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#F4F7FA
Tinted page background
Border#C0D1ED
Hairlines and dividers
Muted text#4B699B
Captions on the surface
Accent#CC4C00
Second voice, not a rival
Dark variant#01307E
Hover, pressed, headers
Light variant#E6EFFF
Selected rows, tints
Dark surface#141A24
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 #307dfd

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#FDB030
Analogous left#30E3FD
Analogous right#4A30FD
Split-complement 1#FD4A30
Split-complement 2#E3FD30
Triadic 1#FD307D
Triadic 2#7DFD30
Tetradic#FD30E3

RGB percentages

Red18.8%
Green49.0%
Blue99.2%

CMYK percentages

Cyan81.0%
Magenta50.6%
Yellow0.0%
Key (black)0.8%

Color previews

#307dfd text on a black background

contrast 5.48:1

Card sample

#307dfd text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #307dfd;
Background color
Panel with #307dfd background
background-color: #307dfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #307dfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(48, 125, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 125, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #307dfd;
background: linear-gradient(135deg, #307dfd, #6C30FD);

Monochromatic scale

Palettes built from #307dfd

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.

#307dfd 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.

#307dfd, answered

What color is #307dfd?

#307dfd is a balanced electric blue, closest to Dodger Blue (ΔE2000 7.2). It sits at 218° on the hue wheel with 98% saturation and 59% lightness, which reads as cool.

What is the RGB value of #307dfd?

rgb(48, 125, 253) — 48 red, 125 green and 253 blue out of 255, or 18.8% / 49% / 99.2% by channel.

Is #307dfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2239 and perceived brightness is 51%, so black text on it reaches 5.48:1.

Should I use black or white text on #307dfd?

Black. It scores 5.48:1 against #307dfd, versus 3.83:1 for white — AA at any size.

What is the complementary color of #307dfd?

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

What colors go well with #307dfd?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B699B for secondary text, #CC4C00 as an accent and #01307E for hover and pressed states. For a palette, the analogous pair #30E3FD and #4A30FD stays calm, while #FDB030 is the loudest partner.

What is #307dfd in CMYK for printing?

cmyk(81%, 51%, 0%, 1%). 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 #307dfd 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 #3032FD; nudged cooler, #1477FF.

Work with #307dfd in the Color Lab