Skip to content

#4b8df4

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

RGB
75, 141, 244
HSL
217°, 89%, 63%
CMYK
69, 42, 0, 4
Luminance
0.2708

At a glance

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

Hex
#4b8df4
Hue
217°
blue
Saturation
89%
electric
Lightness
63%
balanced
Brightness
96%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2708
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.42:1
Closest name
Cornflower Blue
ΔE2000 3.2
Where it sits
Hue217° of 360°
Saturation89%
Lightness63%
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#4b8df4
RGBrgb(75, 141, 244)
HSLhsl(217, 89%, 63%)
CMYKcmyk(69%, 42%, 0%, 4%)
LABlab(59.0 12.2 -57.8)
LCHlch(59.0 59.1 281.9)
OKLCHoklch(0.650 0.168 259.0)
Decimal4951540
Display P3color(display-p3 0.294 0.553 0.957)

Copy-ready code

/* CSS */
color: #4b8df4;
background-color: #4b8df4;
/* Tailwind (arbitrary) */
class="text-[#4b8df4] bg-[#4b8df4]"
/* SCSS */
$brand: #4b8df4;
/* SwiftUI */
Color(red: 0.294, green: 0.553, blue: 0.957)
/* Android */
Color.parseColor("#4b8df4")
/* Flutter */
Color(0xFF4B8DF4)
/* Python / OpenCV (BGR) */
(244, 141, 75)

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

Accessibility — WCAG contrast

Aa
#4b8df4 on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#4b8df4 on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B97F8
deuteranopia · #3E87F2
tritanopia · #00A5B5

Color scale — 50 to 950

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

#F2F6FD
#E5EDFA
#C4D8F8
#95BCF9
#4b8df4
#2C79F2
#0E63E7
#0C52C0
#09429A
#0B326F
#071F45
Base = 400Lightest = 50 · #F2F6FDDarkest = 950 · #071F45
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E5EDFA;
  --brand-200: #C4D8F8;
  --brand-300: #95BCF9;
  --brand-400: #4b8df4;
  --brand-500: #2C79F2;
  --brand-600: #0E63E7;
  --brand-700: #0C52C0;
  --brand-800: #09429A;
  --brand-900: #0B326F;
  --brand-950: #071F45;
  --brand: #4b8df4;
  --brand-ink: #000000;
}

Colors that work with #4b8df4

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#4B6A9B
Captions on the surface
Accent#C54C07
Second voice, not a rival
Dark variant#073378
Hover, pressed, headers
Light variant#E7F0FE
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 #4b8df4

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#F4B24B
Analogous left#4BE1F4
Analogous right#5D4BF4
Split-complement 1#F45D4B
Split-complement 2#E1F44B
Triadic 1#F44B8D
Triadic 2#8DF44B
Tetradic#F44BE1

RGB percentages

Red29.4%
Green55.3%
Blue95.7%

CMYK percentages

Cyan69.3%
Magenta42.2%
Yellow0.0%
Key (black)4.3%

Color previews

#4b8df4 text on a black background

contrast 6.42:1

Card sample

#4b8df4 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4b8df4;
Background color
Panel with #4b8df4 background
background-color: #4b8df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4b8df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(75, 141, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 141, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b8df4;
background: linear-gradient(135deg, #4b8df4, #7A4BF4);

Monochromatic scale

Palettes built from #4b8df4

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.

#4b8df4 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.

#4b8df4, answered

What color is #4b8df4?

#4b8df4 is a balanced electric blue, closest to Cornflower Blue (ΔE2000 3.2). It sits at 217° on the hue wheel with 89% saturation and 63% lightness, which reads as cool.

What is the RGB value of #4b8df4?

rgb(75, 141, 244) — 75 red, 141 green and 244 blue out of 255, or 29.4% / 55.3% / 95.7% by channel.

Is #4b8df4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2708 and perceived brightness is 56%, so black text on it reaches 6.42:1.

Should I use black or white text on #4b8df4?

Black. It scores 6.42:1 against #4b8df4, versus 3.27:1 for white — AA at any size.

What is the complementary color of #4b8df4?

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

What colors go well with #4b8df4?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B6A9B for secondary text, #C54C07 as an accent and #073378 for hover and pressed states. For a palette, the analogous pair #4BE1F4 and #5D4BF4 stays calm, while #F4B24B is the loudest partner.

What is #4b8df4 in CMYK for printing?

cmyk(69%, 42%, 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 #4b8df4 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 #4B4FF4; nudged cooler, #3186F5.

Work with #4b8df4 in the Color Lab