Skip to content

#8eb3f8

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

RGB
142, 179, 248
HSL
219°, 88%, 77%
CMYK
43, 28, 0, 3
Luminance
0.4477

At a glance

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

Hex
#8eb3f8
Hue
219°
blue
Saturation
88%
electric
Lightness
77%
light
Brightness
97%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4477
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.95:1
Closest name
Cornflower Blue
ΔE2000 9
Where it sits
Hue219° of 360°
Saturation88%
Lightness77%
Temperature
Warm ← → Cool95% 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#8eb3f8
RGBrgb(142, 179, 248)
HSLhsl(219, 88%, 77%)
CMYKcmyk(43%, 28%, 0%, 3%)
LABlab(72.7 4.9 -38.2)
LCHlch(72.7 38.5 277.3)
OKLCHoklch(0.766 0.108 262.4)
Decimal9352184
Display P3color(display-p3 0.557 0.702 0.973)

Copy-ready code

/* CSS */
color: #8eb3f8;
background-color: #8eb3f8;
/* Tailwind (arbitrary) */
class="text-[#8eb3f8] bg-[#8eb3f8]"
/* SCSS */
$brand: #8eb3f8;
/* SwiftUI */
Color(red: 0.557, green: 0.702, blue: 0.973)
/* Android */
Color.parseColor("#8eb3f8")
/* Flutter */
Color(0xFF8EB3F8)
/* Python / OpenCV (BGR) */
(248, 179, 142)

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

Accessibility — WCAG contrast

Aa
#8eb3f8 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#8eb3f8 on black: 9.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9AB8FB
deuteranopia · #8FAEF6
tritanopia · #68C2CB

Color scale — 50 to 950

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

#F2F6FD
#E5ECFA
#C4D6F8
#8eb3f8
#6194F5
#2C71F2
#0E5AE6
#0C4BC0
#0A3C9A
#0B2E6F
#071D45
Base = 300Lightest = 50 · #F2F6FDDarkest = 950 · #071D45
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E5ECFA;
  --brand-200: #C4D6F8;
  --brand-300: #8eb3f8;
  --brand-400: #6194F5;
  --brand-500: #2C71F2;
  --brand-600: #0E5AE6;
  --brand-700: #0C4BC0;
  --brand-800: #0A3C9A;
  --brand-900: #0B2E6F;
  --brand-950: #071D45;
  --brand: #8eb3f8;
  --brand-ink: #000000;
}

Colors that work with #8eb3f8

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#F4F6FA
Tinted page background
Border#C0CFED
Hairlines and dividers
Muted text#4B679B
Captions on the surface
Accent#C45308
Second voice, not a rival
Dark variant#072F78
Hover, pressed, headers
Light variant#E7EFFE
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 #8eb3f8

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
  • Card and section backgrounds
  • 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
  • White 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#F8D38E
Analogous left#8EE8F8
Analogous right#9E8EF8
Split-complement 1#F89E8E
Split-complement 2#E8F88E
Triadic 1#F88EB3
Triadic 2#B3F88E
Tetradic#F88EE8

RGB percentages

Red55.7%
Green70.2%
Blue97.3%

CMYK percentages

Cyan42.7%
Magenta27.8%
Yellow0.0%
Key (black)2.7%

Color previews

#8eb3f8 text on a black background

contrast 9.95:1

Card sample

#8eb3f8 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8eb3f8;
Background color
Panel with #8eb3f8 background
background-color: #8eb3f8;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(142, 179, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 179, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8eb3f8;
background: linear-gradient(135deg, #8eb3f8, #B08EF8);

Monochromatic scale

Palettes built from #8eb3f8

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.

#8eb3f8 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#8eb3f8, answered

What color is #8eb3f8?

#8eb3f8 is a light electric blue, closest to Cornflower Blue (ΔE2000 9). It sits at 219° on the hue wheel with 88% saturation and 77% lightness, which reads as cool.

What is the RGB value of #8eb3f8?

rgb(142, 179, 248) — 142 red, 179 green and 248 blue out of 255, or 55.7% / 70.2% / 97.3% by channel.

Is #8eb3f8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4477 and perceived brightness is 70%, so black text on it reaches 9.95:1.

Should I use black or white text on #8eb3f8?

Black. It scores 9.95:1 against #8eb3f8, versus 2.11:1 for white — AAA at any size.

What is the complementary color of #8eb3f8?

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

What colors go well with #8eb3f8?

For interface work: #F4F6FA as the surface, #C0CFED for borders, #4B679B for secondary text, #C45308 as an accent and #072F78 for hover and pressed states. For a palette, the analogous pair #8EE8F8 and #9E8EF8 stays calm, while #F8D38E is the loudest partner.

What is #8eb3f8 in CMYK for printing?

cmyk(43%, 28%, 0%, 3%). 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 #8eb3f8 warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #908EF8; nudged cooler, #75ADF8.

Work with #8eb3f8 in the Color Lab