Skip to content

#4a2df3

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

RGB
74, 45, 243
HSL
249°, 89%, 57%
CMYK
70, 82, 0, 5
Luminance
0.0980

At a glance

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

Hex
#4a2df3
Hue
249°
blue
Saturation
89%
electric
Lightness
57%
balanced
Brightness
95%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0980
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.09:1
Closest name
Blue
ΔE2000 5.2
Where it sits
Hue249° of 360°
Saturation89%
Lightness57%
Temperature
Warm ← → Cool78% 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#4a2df3
RGBrgb(74, 45, 243)
HSLhsl(249, 89%, 57%)
CMYKcmyk(70%, 82%, 0%, 5%)
LABlab(37.5 66.5 -92.4)
LCHlch(37.5 113.9 305.8)
OKLCHoklch(0.491 0.269 276.5)
Decimal4861427
Display P3color(display-p3 0.290 0.176 0.953)

Copy-ready code

/* CSS */
color: #4a2df3;
background-color: #4a2df3;
/* Tailwind (arbitrary) */
class="text-[#4a2df3] bg-[#4a2df3]"
/* SCSS */
$brand: #4a2df3;
/* SwiftUI */
Color(red: 0.290, green: 0.176, blue: 0.953)
/* Android */
Color.parseColor("#4a2df3")
/* Flutter */
Color(0xFF4A2DF3)
/* Python / OpenCV (BGR) */
(243, 45, 74)

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

Accessibility — WCAG contrast

Aa
#4a2df3 on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#4a2df3 on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060F8
deuteranopia · #0050F0
tritanopia · #006C93

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4a2df3 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
#E8E5FB
#CBC4F8
#A495F9
#7660F6
#4a2df3
#2D0DE8
#260BC1
#1E099A
#1A0B6F
#100746
Base = 500Lightest = 50 · #F4F2FDDarkest = 950 · #100746
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E5FB;
  --brand-200: #CBC4F8;
  --brand-300: #A495F9;
  --brand-400: #7660F6;
  --brand-500: #4a2df3;
  --brand-600: #2D0DE8;
  --brand-700: #260BC1;
  --brand-800: #1E099A;
  --brand-900: #1A0B6F;
  --brand-950: #100746;
  --brand: #4a2df3;
  --brand-ink: #ffffff;
}

Colors that work with #4a2df3

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#F5F4FA
Tinted page background
Border#C6C0ED
Hairlines and dividers
Muted text#564B9B
Captions on the surface
Accent#C5B107
Second voice, not a rival
Dark variant#180779
Hover, pressed, headers
Light variant#EAE7FE
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 #4a2df3

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#D6F32D
Analogous left#2D73F3
Analogous right#AD2DF3
Split-complement 1#F3AD2D
Split-complement 2#73F32D
Triadic 1#F34A2D
Triadic 2#2DF34A
Tetradic#F32D73

RGB percentages

Red29.0%
Green17.6%
Blue95.3%

CMYK percentages

Cyan69.5%
Magenta81.5%
Yellow0.0%
Key (black)4.7%

Color previews

#4a2df3 text on a black background

contrast 2.96:1

Card sample

#4a2df3 text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 45, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 45, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4a2df3;
background: linear-gradient(135deg, #4a2df3, #CE2DF3);

Monochromatic scale

Palettes built from #4a2df3

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.

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

#4a2df3, answered

What color is #4a2df3?

#4a2df3 is a balanced electric blue, closest to Blue (ΔE2000 5.2). It sits at 249° on the hue wheel with 89% saturation and 57% lightness, which reads as cool.

What is the RGB value of #4a2df3?

rgb(74, 45, 243) — 74 red, 45 green and 243 blue out of 255, or 29% / 17.6% / 95.3% by channel.

Is #4a2df3 a light or a dark color?

It is a dark color. Relative luminance is 0.0980 and perceived brightness is 38%, so white text on it reaches 7.09:1.

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

White. It scores 7.09:1 against #4a2df3, versus 2.96:1 for black — AAA at any size.

What is the complementary color of #4a2df3?

#D6F32D sits directly opposite on the wheel. Softer options are the split-complements #F3AD2D and #73F32D, which give the same contrast with far less vibration.

What colors go well with #4a2df3?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #564B9B for secondary text, #C5B107 as an accent and #180779 for hover and pressed states. For a palette, the analogous pair #2D73F3 and #AD2DF3 stays calm, while #D6F32D is the loudest partner.

What is #4a2df3 in CMYK for printing?

cmyk(70%, 82%, 0%, 5%). 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 #4a2df3 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #932DF3; nudged cooler, #2B4EF5.

Work with #4a2df3 in the Color Lab