Skip to content

#481cef

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

RGB
72, 28, 239
HSL
253°, 87%, 52%
CMYK
70, 88, 0, 6
Luminance
0.0844

At a glance

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

Hex
#481cef
Hue
253°
blue
Saturation
87%
electric
Lightness
52%
balanced
Brightness
94%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0844
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.81:1
Closest name
Blue
ΔE2000 3.3
Where it sits
Hue253° of 360°
Saturation87%
Lightness52%
Temperature
Warm ← → Cool76% 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#481cef
RGBrgb(72, 28, 239)
HSLhsl(253, 87%, 52%)
CMYKcmyk(70%, 88%, 0%, 6%)
LABlab(34.9 71.3 -94.5)
LCHlch(34.9 118.3 307.0)
OKLCHoklch(0.471 0.275 277.1)
Decimal4725999
Display P3color(display-p3 0.282 0.110 0.937)

Copy-ready code

/* CSS */
color: #481cef;
background-color: #481cef;
/* Tailwind (arbitrary) */
class="text-[#481cef] bg-[#481cef]"
/* SCSS */
$brand: #481cef;
/* SwiftUI */
Color(red: 0.282, green: 0.110, blue: 0.937)
/* Android */
Color.parseColor("#481cef")
/* Flutter */
Color(0xFF481CEF)
/* Python / OpenCV (BGR) */
(239, 28, 72)

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#ffffff on #481cef · 7.81:1
Use #ffffffAAA at every size.
Aa
White text · 7.81:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.69:1
AA fail · AA large fail · AAA fail
Reading the other direction: #481cef as text scores 7.81:1 on white and 2.69:1 on black.

Accessibility — WCAG contrast

Aa
#481cef on white: 7.81:1
AA ✓ pass · AA-large · AAA
Aa
#481cef on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005AF4
deuteranopia · #0049EC
tritanopia · #00668E

Color scale — 50 to 950

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

#F4F2FD
#EAE5FA
#CFC4F7
#AA96F8
#8062F4
#481cef
#3C10E5
#320DBF
#280B98
#210C6E
#140845
Base = 500Lightest = 50 · #F4F2FDDarkest = 950 · #140845
:root {
  --brand-50: #F4F2FD;
  --brand-100: #EAE5FA;
  --brand-200: #CFC4F7;
  --brand-300: #AA96F8;
  --brand-400: #8062F4;
  --brand-500: #481cef;
  --brand-600: #3C10E5;
  --brand-700: #320DBF;
  --brand-800: #280B98;
  --brand-900: #210C6E;
  --brand-950: #140845;
  --brand: #481cef;
  --brand-ink: #ffffff;
}

Colors that work with #481cef

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#C3BB09
Second voice, not a rival
Dark variant#1F0877
Hover, pressed, headers
Light variant#ECE7FD
Selected rows, tints
Dark surface#171424
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 #481cef

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#C3EF1C
Analogous left#1C5AEF
Analogous right#B21CEF
Split-complement 1#EFB21C
Split-complement 2#5AEF1C
Triadic 1#EF481C
Triadic 2#1CEF48
Tetradic#EF1C5A

RGB percentages

Red28.2%
Green11.0%
Blue93.7%

CMYK percentages

Cyan69.9%
Magenta88.3%
Yellow0.0%
Key (black)6.3%

Color previews

#481cef text on a black background

contrast 2.69:1

Card sample

#481cef text on a white background

contrast 7.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #481cef;
Background color
Panel with #481cef background
background-color: #481cef;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(72, 28, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 28, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #481cef;
background: linear-gradient(135deg, #481cef, #D51CEF);

Monochromatic scale

Palettes built from #481cef

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.

#481cef 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.

#481cef, answered

What color is #481cef?

#481cef is a balanced electric blue, closest to Blue (ΔE2000 3.3). It sits at 253° on the hue wheel with 87% saturation and 52% lightness, which reads as cool.

What is the RGB value of #481cef?

rgb(72, 28, 239) — 72 red, 28 green and 239 blue out of 255, or 28.2% / 11% / 93.7% by channel.

Is #481cef a light or a dark color?

It is a dark color. Relative luminance is 0.0844 and perceived brightness is 36%, so white text on it reaches 7.81:1.

Should I use black or white text on #481cef?

White. It scores 7.81:1 against #481cef, versus 2.69:1 for black — AAA at any size.

What is the complementary color of #481cef?

#C3EF1C sits directly opposite on the wheel. Softer options are the split-complements #EFB21C and #5AEF1C, which give the same contrast with far less vibration.

What colors go well with #481cef?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5B4B9B for secondary text, #C3BB09 as an accent and #1F0877 for hover and pressed states. For a palette, the analogous pair #1C5AEF and #B21CEF stays calm, while #C3EF1C is the loudest partner.

What is #481cef in CMYK for printing?

cmyk(70%, 88%, 0%, 6%). 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 #481cef warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #951CEF; nudged cooler, #1A36F1.

Work with #481cef in the Color Lab