Skip to content

#0835eb

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

RGB
8, 53, 235
HSL
228°, 93%, 48%
CMYK
97, 77, 0, 8
Luminance
0.0860

At a glance

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

Hex
#0835eb
Hue
228°
blue
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0860
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.72:1
Closest name
Blue
ΔE2000 5.6
Where it sits
Hue228° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool90% 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#0835eb
RGBrgb(8, 53, 235)
HSLhsl(228, 93%, 48%)
CMYKcmyk(97%, 77%, 0%, 8%)
LABlab(35.2 57.5 -91.7)
LCHlch(35.2 108.3 302.1)
OKLCHoklch(0.465 0.267 264.5)
Decimal538091
Display P3color(display-p3 0.031 0.208 0.922)

Copy-ready code

/* CSS */
color: #0835eb;
background-color: #0835eb;
/* Tailwind (arbitrary) */
class="text-[#0835eb] bg-[#0835eb]"
/* SCSS */
$brand: #0835eb;
/* SwiftUI */
Color(red: 0.031, green: 0.208, blue: 0.922)
/* Android */
Color.parseColor("#0835eb")
/* Flutter */
Color(0xFF0835EB)
/* Python / OpenCV (BGR) */
(235, 53, 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 #0835eb · 7.72:1
Use #ffffffAAA at every size.
Aa
White text · 7.72:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.72:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0835eb as text scores 7.72:1 on white and 2.72:1 on black.

Accessibility — WCAG contrast

Aa
#0835eb on white: 7.72:1
AA ✓ pass · AA-large · AAA
Aa
#0835eb on black: 2.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EF0
deuteranopia · #0048E8
tritanopia · #006E90

Color scale — 50 to 950

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

#F2F4FD
#E4E9FB
#C2CDF9
#93A7FB
#5C7BF9
#2650F8
#0835eb
#072DC5
#05249E
#091D72
#051247
Base = 600Lightest = 50 · #F2F4FDDarkest = 950 · #051247
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E4E9FB;
  --brand-200: #C2CDF9;
  --brand-300: #93A7FB;
  --brand-400: #5C7BF9;
  --brand-500: #2650F8;
  --brand-600: #0835eb;
  --brand-700: #072DC5;
  --brand-800: #05249E;
  --brand-900: #091D72;
  --brand-950: #051247;
  --brand: #0835eb;
  --brand-ink: #ffffff;
}

Colors that work with #0835eb

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#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#C97103
Second voice, not a rival
Dark variant#041C7B
Hover, pressed, headers
Light variant#E6EBFE
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 #0835eb

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#EBBE08
Analogous left#08A6EB
Analogous right#4C08EB
Split-complement 1#EB4C08
Split-complement 2#A6EB08
Triadic 1#EB0835
Triadic 2#35EB08
Tetradic#EB08A6

RGB percentages

Red3.1%
Green20.8%
Blue92.2%

CMYK percentages

Cyan96.6%
Magenta77.4%
Yellow0.0%
Key (black)7.8%

Color previews

#0835eb text on a black background

contrast 2.72:1

Card sample

#0835eb text on a white background

contrast 7.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0835eb;
Background color
Panel with #0835eb background
background-color: #0835eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0835eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 53, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 53, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0835eb;
background: linear-gradient(135deg, #0835eb, #7208EB);

Monochromatic scale

Palettes built from #0835eb

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.

#0835eb 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.

#0835eb, answered

What color is #0835eb?

#0835eb is a balanced electric blue, closest to Blue (ΔE2000 5.6). It sits at 228° on the hue wheel with 93% saturation and 48% lightness, which reads as cool.

What is the RGB value of #0835eb?

rgb(8, 53, 235) — 8 red, 53 green and 235 blue out of 255, or 3.1% / 20.8% / 92.2% by channel.

Is #0835eb a light or a dark color?

It is a dark color. Relative luminance is 0.0860 and perceived brightness is 35%, so white text on it reaches 7.72:1.

Should I use black or white text on #0835eb?

White. It scores 7.72:1 against #0835eb, versus 2.72:1 for black — AAA at any size.

What is the complementary color of #0835eb?

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

What colors go well with #0835eb?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #C97103 as an accent and #041C7B for hover and pressed states. For a palette, the analogous pair #08A6EB and #4C08EB stays calm, while #EBBE08 is the loudest partner.

What is #0835eb in CMYK for printing?

cmyk(97%, 77%, 0%, 8%). 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 #0835eb warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2E08EB; nudged cooler, #0650ED.

Work with #0835eb in the Color Lab