Skip to content

#0865eb

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

RGB
8, 101, 235
HSL
215°, 93%, 48%
CMYK
97, 57, 0, 8
Luminance
0.1536

At a glance

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

Hex
#0865eb
Hue
215°
blue
Saturation
93%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1536
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.16:1
Closest name
Royal Blue
ΔE2000 3.1
Where it sits
Hue215° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool97% 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#0865eb
RGBrgb(8, 101, 235)
HSLhsl(215, 93%, 48%)
CMYKcmyk(97%, 57%, 0%, 8%)
LABlab(46.1 28.4 -73.8)
LCHlch(46.1 79.0 291.0)
OKLCHoklch(0.545 0.217 260.0)
Decimal550379
Display P3color(display-p3 0.031 0.396 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0865eb on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#0865eb on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0077F0
deuteranopia · #0064E8
tritanopia · #00879E

Color scale — 50 to 950

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

#F2F6FD
#E4EEFB
#C2D9F9
#93BDFB
#5C9DF9
#267CF8
#0865eb
#0755C5
#05449E
#093472
#052047
Base = 600Lightest = 50 · #F2F6FDDarkest = 950 · #052047
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E4EEFB;
  --brand-200: #C2D9F9;
  --brand-300: #93BDFB;
  --brand-400: #5C9DF9;
  --brand-500: #267CF8;
  --brand-600: #0865eb;
  --brand-700: #0755C5;
  --brand-800: #05449E;
  --brand-900: #093472;
  --brand-950: #052047;
  --brand: #0865eb;
  --brand-ink: #ffffff;
}

Colors that work with #0865eb

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#F4F7FA
Tinted page background
Border#C0D2ED
Hairlines and dividers
Muted text#4B6C9B
Captions on the surface
Accent#F05403
Second voice, not a rival
Dark variant#04357B
Hover, pressed, headers
Light variant#E6F0FE
Selected rows, tints
Dark surface#141B24
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 #0865eb

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
  • 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#EB8E08
Analogous left#08D6EB
Analogous right#1C08EB
Split-complement 1#EB1C08
Split-complement 2#D6EB08
Triadic 1#EB0865
Triadic 2#65EB08
Tetradic#EB08D6

RGB percentages

Red3.1%
Green39.6%
Blue92.2%

CMYK percentages

Cyan96.6%
Magenta57.0%
Yellow0.0%
Key (black)7.8%

Color previews

#0865eb text on a black background

contrast 4.07:1

Card sample

#0865eb text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0865eb

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.

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

#0865eb, answered

What color is #0865eb?

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

What is the RGB value of #0865eb?

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

Is #0865eb a light or a dark color?

It is a dark color. Relative luminance is 0.1536 and perceived brightness is 43%, so white text on it reaches 5.16:1.

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

White. It scores 5.16:1 against #0865eb, versus 4.07:1 for black — AA at any size.

What is the complementary color of #0865eb?

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

What colors go well with #0865eb?

For interface work: #F4F7FA as the surface, #C0D2ED for borders, #4B6C9B for secondary text, #F05403 as an accent and #04357B for hover and pressed states. For a palette, the analogous pair #08D6EB and #1C08EB stays calm, while #EB8E08 is the loudest partner.

What is #0865eb in CMYK for printing?

cmyk(97%, 57%, 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 #0865eb warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0812EB; nudged cooler, #0560D4.

Work with #0865eb in the Color Lab