Skip to content

#0829fd

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

RGB
8, 41, 253
HSL
232°, 98%, 51%
CMYK
97, 84, 0, 1
Luminance
0.0873

At a glance

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

Hex
#0829fd
Hue
232°
blue
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0873
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.65:1
Closest name
Blue
ΔE2000 3.6
Where it sits
Hue232° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool88% 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#0829fd
RGBrgb(8, 41, 253)
HSLhsl(232, 98%, 51%)
CMYKcmyk(97%, 84%, 0%, 1%)
LABlab(35.5 68.6 -101.5)
LCHlch(35.5 122.5 304.1)
OKLCHoklch(0.473 0.295 264.7)
Decimal535037
Display P3color(display-p3 0.031 0.161 0.992)

Copy-ready code

/* CSS */
color: #0829fd;
background-color: #0829fd;
/* Tailwind (arbitrary) */
class="text-[#0829fd] bg-[#0829fd]"
/* SCSS */
$brand: #0829fd;
/* SwiftUI */
Color(red: 0.031, green: 0.161, blue: 0.992)
/* Android */
Color.parseColor("#0829fd")
/* Flutter */
Color(0xFF0829FD)
/* Python / OpenCV (BGR) */
(253, 41, 8)

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

Accessibility — WCAG contrast

Aa
#0829fd on white: 7.65:1
AA ✓ pass · AA-large · AAA
Aa
#0829fd on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005FFF
deuteranopia · #0047FA
tritanopia · #007198

Color scale — 50 to 950

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

#F1F3FE
#E3E7FC
#C1C8FB
#909FFE
#586EFE
#203EFD
#0829fd
#021DCA
#0117A2
#061575
#040D49
Base = 600Lightest = 50 · #F1F3FEDarkest = 950 · #040D49
:root {
  --brand-50: #F1F3FE;
  --brand-100: #E3E7FC;
  --brand-200: #C1C8FB;
  --brand-300: #909FFE;
  --brand-400: #586EFE;
  --brand-500: #203EFD;
  --brand-600: #0829fd;
  --brand-700: #021DCA;
  --brand-800: #0117A2;
  --brand-900: #061575;
  --brand-950: #040D49;
  --brand: #0829fd;
  --brand-ink: #ffffff;
}

Colors that work with #0829fd

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#F4F5FA
Tinted page background
Border#C0C6ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#CC7D00
Second voice, not a rival
Dark variant#01127E
Hover, pressed, headers
Light variant#E6E9FF
Selected rows, tints
Dark surface#141624
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 #0829fd

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#FDDC08
Analogous left#08A4FD
Analogous right#6108FD
Split-complement 1#FD6108
Split-complement 2#A4FD08
Triadic 1#FD0829
Triadic 2#29FD08
Tetradic#FD08A4

RGB percentages

Red3.1%
Green16.1%
Blue99.2%

CMYK percentages

Cyan96.8%
Magenta83.8%
Yellow0.0%
Key (black)0.8%

Color previews

#0829fd text on a black background

contrast 2.75:1

Card sample

#0829fd text on a white background

contrast 7.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0829fd;
Background color
Panel with #0829fd background
background-color: #0829fd;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0829fd

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.

#0829fd 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.

#0829fd, answered

What color is #0829fd?

#0829fd is a balanced electric blue, closest to Blue (ΔE2000 3.6). It sits at 232° on the hue wheel with 98% saturation and 51% lightness, which reads as cool.

What is the RGB value of #0829fd?

rgb(8, 41, 253) — 8 red, 41 green and 253 blue out of 255, or 3.1% / 16.1% / 99.2% by channel.

Is #0829fd a light or a dark color?

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

Should I use black or white text on #0829fd?

White. It scores 7.65:1 against #0829fd, versus 2.75:1 for black — AAA at any size.

What is the complementary color of #0829fd?

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

What colors go well with #0829fd?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B559B for secondary text, #CC7D00 as an accent and #01127E for hover and pressed states. For a palette, the analogous pair #08A4FD and #6108FD stays calm, while #FDDC08 is the loudest partner.

What is #0829fd in CMYK for printing?

cmyk(97%, 84%, 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 #0829fd warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4108FD; nudged cooler, #064DFF.

Work with #0829fd in the Color Lab