Skip to content

#0834fd

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

RGB
8, 52, 253
HSL
229°, 98%, 51%
CMYK
97, 79, 0, 1
Luminance
0.0960

At a glance

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

Hex
#0834fd
Hue
229°
blue
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0960
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.19:1
Closest name
Blue
ΔE2000 5.5
Where it sits
Hue229° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool89% 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#0834fd
RGBrgb(8, 52, 253)
HSLhsl(229, 98%, 51%)
CMYKcmyk(97%, 79%, 0%, 1%)
LABlab(37.1 63.7 -98.7)
LCHlch(37.1 117.5 302.8)
OKLCHoklch(0.485 0.287 264.5)
Decimal537853
Display P3color(display-p3 0.031 0.204 0.992)

Copy-ready code

/* CSS */
color: #0834fd;
background-color: #0834fd;
/* Tailwind (arbitrary) */
class="text-[#0834fd] bg-[#0834fd]"
/* SCSS */
$brand: #0834fd;
/* SwiftUI */
Color(red: 0.031, green: 0.204, blue: 0.992)
/* Android */
Color.parseColor("#0834fd")
/* Flutter */
Color(0xFF0834FD)
/* Python / OpenCV (BGR) */
(253, 52, 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 #0834fd · 7.19:1
Use #ffffffAAA at every size.
Aa
White text · 7.19:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.92:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0834fd as text scores 7.19:1 on white and 2.92:1 on black.

Accessibility — WCAG contrast

Aa
#0834fd on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#0834fd on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063FF
deuteranopia · #004BFA
tritanopia · #00759A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0834fd 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
#E3E8FC
#C1CBFB
#90A4FE
#5876FE
#2048FD
#0834fd
#0226CA
#011EA2
#061A75
#041049
Base = 600Lightest = 50 · #F1F3FEDarkest = 950 · #041049
:root {
  --brand-50: #F1F3FE;
  --brand-100: #E3E8FC;
  --brand-200: #C1CBFB;
  --brand-300: #90A4FE;
  --brand-400: #5876FE;
  --brand-500: #2048FD;
  --brand-600: #0834fd;
  --brand-700: #0226CA;
  --brand-800: #011EA2;
  --brand-900: #061A75;
  --brand-950: #041049;
  --brand: #0834fd;
  --brand-ink: #ffffff;
}

Colors that work with #0834fd

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#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#CC7400
Second voice, not a rival
Dark variant#01187E
Hover, pressed, headers
Light variant#E6EAFF
Selected rows, tints
Dark surface#141724
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 #0834fd

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#FDD108
Analogous left#08AFFD
Analogous right#5608FD
Split-complement 1#FD5608
Split-complement 2#AFFD08
Triadic 1#FD0834
Triadic 2#34FD08
Tetradic#FD08AF

RGB percentages

Red3.1%
Green20.4%
Blue99.2%

CMYK percentages

Cyan96.8%
Magenta79.4%
Yellow0.0%
Key (black)0.8%

Color previews

#0834fd text on a black background

contrast 2.92:1

Card sample

#0834fd text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0834fd

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.

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

#0834fd, answered

What color is #0834fd?

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

What is the RGB value of #0834fd?

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

Is #0834fd a light or a dark color?

It is a dark color. Relative luminance is 0.0960 and perceived brightness is 37%, so white text on it reaches 7.19:1.

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

White. It scores 7.19:1 against #0834fd, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #0834fd?

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

What colors go well with #0834fd?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #CC7400 as an accent and #01187E for hover and pressed states. For a palette, the analogous pair #08AFFD and #5608FD stays calm, while #FDD108 is the loudest partner.

What is #0834fd in CMYK for printing?

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

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3608FD; nudged cooler, #0653FF.

Work with #0834fd in the Color Lab