Skip to content

#460af2

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

RGB
70, 10, 242
HSL
256°, 92%, 49%
CMYK
71, 96, 0, 5
Luminance
0.0793

At a glance

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

Hex
#460af2
Hue
256°
violet
Saturation
92%
electric
Lightness
49%
balanced
Brightness
95%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0793
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.12:1
Closest name
Blue
ΔE2000 2.6
Where it sits
Hue256° of 360°
Saturation92%
Lightness49%
Temperature
Warm ← → Cool75% 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#460af2
RGBrgb(70, 10, 242)
HSLhsl(256, 92%, 49%)
CMYKcmyk(71%, 96%, 0%, 5%)
LABlab(33.8 75.8 -97.9)
LCHlch(33.8 123.8 307.7)
OKLCHoklch(0.465 0.284 276.6)
Decimal4590322
Display P3color(display-p3 0.275 0.039 0.949)

Copy-ready code

/* CSS */
color: #460af2;
background-color: #460af2;
/* Tailwind (arbitrary) */
class="text-[#460af2] bg-[#460af2]"
/* SCSS */
$brand: #460af2;
/* SwiftUI */
Color(red: 0.275, green: 0.039, blue: 0.949)
/* Android */
Color.parseColor("#460af2")
/* Flutter */
Color(0xFF460AF2)
/* Python / OpenCV (BGR) */
(242, 10, 70)

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

Accessibility — WCAG contrast

Aa
#460af2 on white: 8.12:1
AA ✓ pass · AA-large · AAA
Aa
#460af2 on black: 2.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058F7
deuteranopia · #0046EF
tritanopia · #00658E

Color scale — 50 to 950

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

#F5F2FD
#EAE4FB
#D1C3F9
#AE93FB
#855DF8
#5D27F6
#460af2
#3908C4
#2D069D
#240971
#170647
Base = 600Lightest = 50 · #F5F2FDDarkest = 950 · #170647
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EAE4FB;
  --brand-200: #D1C3F9;
  --brand-300: #AE93FB;
  --brand-400: #855DF8;
  --brand-500: #5D27F6;
  --brand-600: #460af2;
  --brand-700: #3908C4;
  --brand-800: #2D069D;
  --brand-900: #240971;
  --brand-950: #170647;
  --brand: #460af2;
  --brand-ink: #ffffff;
}

Colors that work with #460af2

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#CBC0ED
Hairlines and dividers
Muted text#5F4B9B
Captions on the surface
Accent#C6C804
Second voice, not a rival
Dark variant#23057A
Hover, pressed, headers
Light variant#EDE7FE
Selected rows, tints
Dark surface#181424
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 #460af2

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#B6F20A
Analogous left#0A42F2
Analogous right#BA0AF2
Split-complement 1#F2BA0A
Split-complement 2#42F20A
Triadic 1#F2460A
Triadic 2#0AF246
Tetradic#F20A42

RGB percentages

Red27.5%
Green3.9%
Blue94.9%

CMYK percentages

Cyan71.1%
Magenta95.9%
Yellow0.0%
Key (black)5.1%

Color previews

#460af2 text on a black background

contrast 2.59:1

Card sample

#460af2 text on a white background

contrast 8.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #460af2;
Background color
Panel with #460af2 background
background-color: #460af2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(70, 10, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 10, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #460af2;
background: linear-gradient(135deg, #460af2, #E10AF2);

Monochromatic scale

Palettes built from #460af2

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.

#460af2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#460af2, answered

What color is #460af2?

#460af2 is a balanced electric violet, closest to Blue (ΔE2000 2.6). It sits at 256° on the hue wheel with 92% saturation and 49% lightness, which reads as cool.

What is the RGB value of #460af2?

rgb(70, 10, 242) — 70 red, 10 green and 242 blue out of 255, or 27.5% / 3.9% / 94.9% by channel.

Is #460af2 a light or a dark color?

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

Should I use black or white text on #460af2?

White. It scores 8.12:1 against #460af2, versus 2.59:1 for black — AAA at any size.

What is the complementary color of #460af2?

#B6F20A sits directly opposite on the wheel. Softer options are the split-complements #F2BA0A and #42F20A, which give the same contrast with far less vibration.

What colors go well with #460af2?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5F4B9B for secondary text, #C6C804 as an accent and #23057A for hover and pressed states. For a palette, the analogous pair #0A42F2 and #BA0AF2 stays calm, while #B6F20A is the loudest partner.

What is #460af2 in CMYK for printing?

cmyk(71%, 96%, 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 #460af2 warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9B0AF2; nudged cooler, #071CF5.

Work with #460af2 in the Color Lab