Skip to content

#0875ba

a dark, electric blue · cool · closest name: Steel Blue

RGB
8, 117, 186
HSL
203°, 92%, 38%
CMYK
96, 37, 0, 27
Luminance
0.1632

At a glance

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

Hex
#0875ba
Hue
203°
blue
Saturation
92%
electric
Lightness
38%
dark
Brightness
73%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1632
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
4.93:1
Closest name
Steel Blue
ΔE2000 5.8
Where it sits
Hue203° of 360°
Saturation92%
Lightness38%
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#0875ba
RGBrgb(8, 117, 186)
HSLhsl(203, 92%, 38%)
CMYKcmyk(96%, 37%, 0%, 27%)
LABlab(47.4 -1.1 -43.8)
LCHlch(47.4 43.8 268.5)
OKLCHoklch(0.545 0.137 245.8)
Decimal554426
Display P3color(display-p3 0.031 0.459 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0875ba on white: 4.93:1
AA ✓ pass · AA-large · AAA
Aa
#0875ba on black: 4.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5378BD
deuteranopia · #3A6AB9
tritanopia · #00868E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0875ba is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F9FD
#E4F2FB
#C3E4F9
#93D2FA
#5EBCF8
#28A6F6
#0A93EB
#0875ba
#07629D
#0A4971
#062D47
Base = 700Lightest = 50 · #F2F9FDDarkest = 950 · #062D47
:root {
  --brand-50: #F2F9FD;
  --brand-100: #E4F2FB;
  --brand-200: #C3E4F9;
  --brand-300: #93D2FA;
  --brand-400: #5EBCF8;
  --brand-500: #28A6F6;
  --brand-600: #0A93EB;
  --brand-700: #0875ba;
  --brand-800: #07629D;
  --brand-900: #0A4971;
  --brand-950: #062D47;
  --brand: #0875ba;
  --brand-ink: #ffffff;
}

Colors that work with #0875ba

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#F4F8FA
Tinted page background
Border#C0DBED
Hairlines and dividers
Muted text#4B7C9B
Captions on the surface
Accent#BE1E04
Second voice, not a rival
Dark variant#054D7A
Hover, pressed, headers
Light variant#E7F5FE
Selected rows, tints
Dark surface#141E24
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 #0875ba

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#BA4D08
Analogous left#08BAA6
Analogous right#081CBA
Split-complement 1#BA081C
Split-complement 2#BAA608
Triadic 1#BA0875
Triadic 2#75BA08
Tetradic#A608BA

RGB percentages

Red3.1%
Green45.9%
Blue72.9%

CMYK percentages

Cyan95.7%
Magenta37.1%
Yellow0.0%
Key (black)27.1%

Color previews

#0875ba text on a black background

contrast 4.26:1

Card sample

#0875ba text on a white background

contrast 4.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0875ba;
Background color
Panel with #0875ba background
background-color: #0875ba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0875ba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 117, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 117, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0875ba;
background: linear-gradient(135deg, #0875ba, #1208BA);

Monochromatic scale

Palettes built from #0875ba

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.

#0875ba 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.

#0875ba, answered

What color is #0875ba?

#0875ba is a dark electric blue, closest to Steel Blue (ΔE2000 5.8). It sits at 203° on the hue wheel with 92% saturation and 38% lightness, which reads as cool.

What is the RGB value of #0875ba?

rgb(8, 117, 186) — 8 red, 117 green and 186 blue out of 255, or 3.1% / 45.9% / 72.9% by channel.

Is #0875ba a light or a dark color?

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

Should I use black or white text on #0875ba?

White. It scores 4.93:1 against #0875ba, versus 4.26:1 for black — AA at any size.

What is the complementary color of #0875ba?

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

What colors go well with #0875ba?

For interface work: #F4F8FA as the surface, #C0DBED for borders, #4B7C9B for secondary text, #BE1E04 as an accent and #054D7A for hover and pressed states. For a palette, the analogous pair #08BAA6 and #081CBA stays calm, while #BA4D08 is the loudest partner.

What is #0875ba in CMYK for printing?

cmyk(96%, 37%, 0%, 27%). 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 #0875ba 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 #08B6BA; nudged cooler, #055AA3.

Work with #0875ba in the Color Lab