Skip to content

#7262eb

a light, electric blue · cool · closest name: Medium Slate Blue

RGB
114, 98, 235
HSL
247°, 77%, 65%
CMYK
52, 58, 0, 8
Luminance
0.1831

At a glance

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

Hex
#7262eb
Hue
247°
blue
Saturation
77%
electric
Lightness
65%
light
Brightness
92%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1831
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
4.66:1
Closest name
Medium Slate Blue
ΔE2000 2.4
Where it sits
Hue247° of 360°
Saturation77%
Lightness65%
Temperature
Warm ← → Cool79% 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#7262eb
RGBrgb(114, 98, 235)
HSLhsl(247, 77%, 65%)
CMYKcmyk(52%, 58%, 0%, 8%)
LABlab(49.9 41.9 -67.5)
LCHlch(49.9 79.4 301.8)
OKLCHoklch(0.585 0.199 283.7)
Decimal7496427
Display P3color(display-p3 0.447 0.384 0.922)

Copy-ready code

/* CSS */
color: #7262eb;
background-color: #7262eb;
/* Tailwind (arbitrary) */
class="text-[#7262eb] bg-[#7262eb]"
/* SCSS */
$brand: #7262eb;
/* SwiftUI */
Color(red: 0.447, green: 0.384, blue: 0.922)
/* Android */
Color.parseColor("#7262eb")
/* Flutter */
Color(0xFF7262EB)
/* Python / OpenCV (BGR) */
(235, 98, 114)

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

Accessibility — WCAG contrast

Aa
#7262eb on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#7262eb on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007BF0
deuteranopia · #0072E8
tritanopia · #41829D

Color scale — 50 to 950

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

#F4F3FC
#E9E6F9
#CDC7F4
#A69BF2
#7262eb
#4C38E6
#321CD9
#2917B5
#211291
#1C1269
#110B41
Base = 400Lightest = 50 · #F4F3FCDarkest = 950 · #110B41
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E9E6F9;
  --brand-200: #CDC7F4;
  --brand-300: #A69BF2;
  --brand-400: #7262eb;
  --brand-500: #4C38E6;
  --brand-600: #321CD9;
  --brand-700: #2917B5;
  --brand-800: #211291;
  --brand-900: #1C1269;
  --brand-950: #110B41;
  --brand: #7262eb;
  --brand-ink: #000000;
}

Colors that work with #7262eb

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#F5F4FA
Tinted page background
Border#C5C0ED
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#BAA212
Second voice, not a rival
Dark variant#1A0E71
Hover, pressed, headers
Light variant#EBE8FC
Selected rows, tints
Dark surface#161424
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 #7262eb

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

Works well for
  • Body text and links on white
  • 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
  • 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#DBEB62
Analogous left#6297EB
Analogous right#B662EB
Split-complement 1#EBB662
Split-complement 2#97EB62
Triadic 1#EB7262
Triadic 2#62EB72
Tetradic#EB6297

RGB percentages

Red44.7%
Green38.4%
Blue92.2%

CMYK percentages

Cyan51.5%
Magenta58.3%
Yellow0.0%
Key (black)7.8%

Color previews

#7262eb text on a black background

contrast 4.66:1

Card sample

#7262eb text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7262eb;
Background color
Panel with #7262eb background
background-color: #7262eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(114, 98, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(114, 98, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7262eb;
background: linear-gradient(135deg, #7262eb, #CD62EB);

Monochromatic scale

Palettes built from #7262eb

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.

#7262eb 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.

#7262eb, answered

What color is #7262eb?

#7262eb is a light electric blue, closest to Medium Slate Blue (ΔE2000 2.4). It sits at 247° on the hue wheel with 77% saturation and 65% lightness, which reads as cool.

What is the RGB value of #7262eb?

rgb(114, 98, 235) — 114 red, 98 green and 235 blue out of 255, or 44.7% / 38.4% / 92.2% by channel.

Is #7262eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1831 and perceived brightness is 49%, so black text on it reaches 4.66:1.

Should I use black or white text on #7262eb?

Black. It scores 4.66:1 against #7262eb, versus 4.50:1 for white — AA at any size.

What is the complementary color of #7262eb?

#DBEB62 sits directly opposite on the wheel. Softer options are the split-complements #EBB662 and #97EB62, which give the same contrast with far less vibration.

What colors go well with #7262eb?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #BAA212 as an accent and #1A0E71 for hover and pressed states. For a palette, the analogous pair #6297EB and #B662EB stays calm, while #DBEB62 is the loudest partner.

What is #7262eb in CMYK for printing?

cmyk(52%, 58%, 0%, 8%). 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 #7262eb warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A462EB; nudged cooler, #6082ED.

Work with #7262eb in the Color Lab