Skip to content

#8e92fd

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

RGB
142, 146, 253
HSL
238°, 97%, 78%
CMYK
44, 42, 0, 1
Luminance
0.3340

At a glance

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

Hex
#8e92fd
Hue
238°
blue
Saturation
97%
electric
Lightness
78%
light
Brightness
99%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3340
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.68:1
Closest name
Cornflower Blue
ΔE2000 9
Where it sits
Hue238° of 360°
Saturation97%
Lightness78%
Temperature
Warm ← → Cool85% 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#8e92fd
RGBrgb(142, 146, 253)
HSLhsl(238, 97%, 78%)
CMYKcmyk(44%, 42%, 0%, 1%)
LABlab(64.5 25.1 -53.9)
LCHlch(64.5 59.5 295.0)
OKLCHoklch(0.704 0.155 280.0)
Decimal9343741
Display P3color(display-p3 0.557 0.573 0.992)

Copy-ready code

/* CSS */
color: #8e92fd;
background-color: #8e92fd;
/* Tailwind (arbitrary) */
class="text-[#8e92fd] bg-[#8e92fd]"
/* SCSS */
$brand: #8e92fd;
/* SwiftUI */
Color(red: 0.557, green: 0.573, blue: 0.992)
/* Android */
Color.parseColor("#8e92fd")
/* Flutter */
Color(0xFF8E92FD)
/* Python / OpenCV (BGR) */
(253, 146, 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 #8e92fd · 7.68:1
Use #000000AAA at every size.
Aa
White text · 2.73:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.68:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8e92fd as text scores 2.73:1 on white and 7.68:1 on black.

Accessibility — WCAG contrast

Aa
#8e92fd on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#8e92fd on black: 7.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #69A1FF
deuteranopia · #6298FB
tritanopia · #69A8BB

Color scale — 50 to 950

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

#F1F2FD
#E4E5FC
#C1C3FB
#8e92fd
#5A60FC
#232AFB
#040DF1
#040BC8
#0309A0
#070B74
#040748
Base = 300Lightest = 50 · #F1F2FDDarkest = 950 · #040748
:root {
  --brand-50: #F1F2FD;
  --brand-100: #E4E5FC;
  --brand-200: #C1C3FB;
  --brand-300: #8e92fd;
  --brand-400: #5A60FC;
  --brand-500: #232AFB;
  --brand-600: #040DF1;
  --brand-700: #040BC8;
  --brand-800: #0309A0;
  --brand-900: #070B74;
  --brand-950: #040748;
  --brand: #8e92fd;
  --brand-ink: #000000;
}

Colors that work with #8e92fd

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#F4F5FA
Tinted page background
Border#C0C1ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#CC9200
Second voice, not a rival
Dark variant#02077D
Hover, pressed, headers
Light variant#E6E7FF
Selected rows, tints
Dark surface#141424
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 #8e92fd

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#FDF98E
Analogous left#8ECAFD
Analogous right#C28EFD
Split-complement 1#FDC28E
Split-complement 2#CAFD8E
Triadic 1#FD8E92
Triadic 2#92FD8E
Tetradic#FD8ECA

RGB percentages

Red55.7%
Green57.3%
Blue99.2%

CMYK percentages

Cyan43.9%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#8e92fd text on a black background

contrast 7.68:1

Card sample

#8e92fd text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8e92fd

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.

#8e92fd 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.

#8e92fd, answered

What color is #8e92fd?

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

What is the RGB value of #8e92fd?

rgb(142, 146, 253) — 142 red, 146 green and 253 blue out of 255, or 55.7% / 57.3% / 99.2% by channel.

Is #8e92fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3340 and perceived brightness is 63%, so black text on it reaches 7.68:1.

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

Black. It scores 7.68:1 against #8e92fd, versus 2.73:1 for white — AAA at any size.

What is the complementary color of #8e92fd?

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

What colors go well with #8e92fd?

For interface work: #F4F5FA as the surface, #C0C1ED for borders, #4B4E9B for secondary text, #CC9200 as an accent and #02077D for hover and pressed states. For a palette, the analogous pair #8ECAFD and #C28EFD stays calm, while #FDF98E is the loudest partner.

What is #8e92fd in CMYK for printing?

cmyk(44%, 42%, 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 #8e92fd warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B38EFD; nudged cooler, #8DB0FE.

Work with #8e92fd in the Color Lab