Skip to content

#0856df

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

RGB
8, 86, 223
HSL
218°, 93%, 45%
CMYK
96, 61, 0, 13
Luminance
0.1203

At a glance

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

Hex
#0856df
Hue
218°
blue
Saturation
93%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1203
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.16:1
Closest name
Royal Blue
ΔE2000 6.5
Where it sits
Hue218° of 360°
Saturation93%
Lightness45%
Temperature
Warm ← → Cool95% 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#0856df
RGBrgb(8, 86, 223)
HSLhsl(218, 93%, 45%)
CMYKcmyk(96%, 61%, 0%, 13%)
LABlab(41.3 33.4 -74.9)
LCHlch(41.3 82.0 294.1)
OKLCHoklch(0.506 0.220 261.6)
Decimal546527
Display P3color(display-p3 0.031 0.337 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0856df on white: 6.16:1
AA ✓ pass · AA-large · AAA
Aa
#0856df on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BE3
deuteranopia · #0058DC
tritanopia · #007A92

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0856df 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
#E4EDFB
#C2D6F9
#93B9FB
#5D95F9
#2672F7
#0856df
#074CC5
#063D9E
#092F72
#051D47
Base = 600Lightest = 50 · #F2F6FDDarkest = 950 · #051D47
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E4EDFB;
  --brand-200: #C2D6F9;
  --brand-300: #93B9FB;
  --brand-400: #5D95F9;
  --brand-500: #2672F7;
  --brand-600: #0856df;
  --brand-700: #074CC5;
  --brand-800: #063D9E;
  --brand-900: #092F72;
  --brand-950: #051D47;
  --brand: #0856df;
  --brand-ink: #ffffff;
}

Colors that work with #0856df

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#C0D0ED
Hairlines and dividers
Muted text#4B689B
Captions on the surface
Accent#E45A03
Second voice, not a rival
Dark variant#04307B
Hover, pressed, headers
Light variant#E6EFFE
Selected rows, tints
Dark surface#141A24
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 #0856df

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#DF9108
Analogous left#08C2DF
Analogous right#2508DF
Split-complement 1#DF2508
Split-complement 2#C2DF08
Triadic 1#DF0856
Triadic 2#56DF08
Tetradic#DF08C2

RGB percentages

Red3.1%
Green33.7%
Blue87.5%

CMYK percentages

Cyan96.4%
Magenta61.4%
Yellow0.0%
Key (black)12.5%

Color previews

#0856df text on a black background

contrast 3.41:1

Card sample

#0856df text on a white background

contrast 6.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0856df;
Background color
Panel with #0856df background
background-color: #0856df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0856df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 86, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 86, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0856df;
background: linear-gradient(135deg, #0856df, #4908DF);

Monochromatic scale

Palettes built from #0856df

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.

#0856df 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.

#0856df, answered

What color is #0856df?

#0856df is a balanced electric blue, closest to Royal Blue (ΔE2000 6.5). It sits at 218° on the hue wheel with 93% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0856df?

rgb(8, 86, 223) — 8 red, 86 green and 223 blue out of 255, or 3.1% / 33.7% / 87.5% by channel.

Is #0856df a light or a dark color?

It is a dark color. Relative luminance is 0.1203 and perceived brightness is 39%, so white text on it reaches 6.16:1.

Should I use black or white text on #0856df?

White. It scores 6.16:1 against #0856df, versus 3.41:1 for black — AA at any size.

What is the complementary color of #0856df?

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

What colors go well with #0856df?

For interface work: #F4F7FA as the surface, #C0D0ED for borders, #4B689B for secondary text, #E45A03 as an accent and #04307B for hover and pressed states. For a palette, the analogous pair #08C2DF and #2508DF stays calm, while #DF9108 is the loudest partner.

What is #0856df in CMYK for printing?

cmyk(96%, 61%, 0%, 13%). 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 #0856df warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0908DF; nudged cooler, #0556C8.

Work with #0856df in the Color Lab