Skip to content

#087fec

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

RGB
8, 127, 236
HSL
209°, 93%, 48%
CMYK
97, 46, 0, 8
Luminance
0.2129

At a glance

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

Hex
#087fec
Hue
209°
blue
Saturation
93%
electric
Lightness
48%
balanced
Brightness
93%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2129
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.26:1
Closest name
Steel Blue
ΔE2000 5.4
Where it sits
Hue209° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool99% 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#087fec
RGBrgb(8, 127, 236)
HSLhsl(209, 93%, 48%)
CMYKcmyk(97%, 46%, 0%, 8%)
LABlab(53.3 12.3 -62.7)
LCHlch(53.3 63.9 281.0)
OKLCHoklch(0.600 0.188 253.9)
Decimal557036
Display P3color(display-p3 0.031 0.498 0.925)

Copy-ready code

/* CSS */
color: #087fec;
background-color: #087fec;
/* Tailwind (arbitrary) */
class="text-[#087fec] bg-[#087fec]"
/* SCSS */
$brand: #087fec;
/* SwiftUI */
Color(red: 0.031, green: 0.498, blue: 0.925)
/* Android */
Color.parseColor("#087fec")
/* Flutter */
Color(0xFF087FEC)
/* Python / OpenCV (BGR) */
(236, 127, 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#000000 on #087fec · 5.26:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.99:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.26:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #087fec as text scores 3.99:1 on white and 5.26:1 on black.

Accessibility — WCAG contrast

Aa
#087fec on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#087fec on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4089F0
deuteranopia · #0077EA
tritanopia · #009AAA

Color scale — 50 to 950

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

#F2F8FD
#E4F0FB
#C2DFF9
#93C9FB
#5CAEF9
#2693F8
#087fec
#076AC5
#05559E
#093F72
#052847
Base = 600Lightest = 50 · #F2F8FDDarkest = 950 · #052847
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E4F0FB;
  --brand-200: #C2DFF9;
  --brand-300: #93C9FB;
  --brand-400: #5CAEF9;
  --brand-500: #2693F8;
  --brand-600: #087fec;
  --brand-700: #076AC5;
  --brand-800: #05559E;
  --brand-900: #093F72;
  --brand-950: #052847;
  --brand: #087fec;
  --brand-ink: #000000;
}

Colors that work with #087fec

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F7FA
Tinted page background
Border#C0D7ED
Hairlines and dividers
Muted text#4B749B
Captions on the surface
Accent#F13903
Second voice, not a rival
Dark variant#04427B
Hover, pressed, headers
Light variant#E6F3FE
Selected rows, tints
Dark surface#141C24
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 #087fec

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#EC7508
Analogous left#08ECE7
Analogous right#080DEC
Split-complement 1#EC080D
Split-complement 2#ECE708
Triadic 1#EC087F
Triadic 2#7FEC08
Tetradic#E708EC

RGB percentages

Red3.1%
Green49.8%
Blue92.5%

CMYK percentages

Cyan96.6%
Magenta46.2%
Yellow0.0%
Key (black)7.5%

Color previews

#087fec text on a black background

contrast 5.26:1

Card sample

#087fec text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #087fec;
Background color
Panel with #087fec background
background-color: #087fec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #087fec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 127, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 127, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #087fec;
background: linear-gradient(135deg, #087fec, #2908EC);

Monochromatic scale

Palettes built from #087fec

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.

#087fec 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.

#087fec, answered

What color is #087fec?

#087fec is a balanced electric blue, closest to Steel Blue (ΔE2000 5.4). It sits at 209° on the hue wheel with 93% saturation and 48% lightness, which reads as cool.

What is the RGB value of #087fec?

rgb(8, 127, 236) — 8 red, 127 green and 236 blue out of 255, or 3.1% / 49.8% / 92.5% by channel.

Is #087fec a light or a dark color?

It is a mid-tone. Relative luminance is 0.2129 and perceived brightness is 49%, so black text on it reaches 5.26:1.

Should I use black or white text on #087fec?

Black. It scores 5.26:1 against #087fec, versus 3.99:1 for white — AA at any size.

What is the complementary color of #087fec?

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

What colors go well with #087fec?

For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B749B for secondary text, #F13903 as an accent and #04427B for hover and pressed states. For a palette, the analogous pair #08ECE7 and #080DEC stays calm, while #EC7508 is the loudest partner.

What is #087fec in CMYK for printing?

cmyk(97%, 46%, 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 #087fec warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #082BEC; nudged cooler, #056DD5.

Work with #087fec in the Color Lab