Skip to content

#0facfe

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

RGB
15, 172, 254
HSL
201°, 99%, 53%
CMYK
94, 32, 0, 0
Luminance
0.3676

At a glance

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

Hex
#0facfe
Hue
201°
blue
Saturation
99%
electric
Lightness
53%
balanced
Brightness
100%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3676
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.35:1
Closest name
Deep Sky Blue
ΔE2000 7.1
Where it sits
Hue201° of 360°
Saturation99%
Lightness53%
Temperature
Warm ← → Cool96% 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#0facfe
RGBrgb(15, 172, 254)
HSLhsl(201, 99%, 53%)
CMYKcmyk(94%, 32%, 0%, 0%)
LABlab(67.1 -7.3 -50.6)
LCHlch(67.1 51.1 261.7)
OKLCHoklch(0.712 0.164 241.3)
Decimal1027326
Display P3color(display-p3 0.059 0.675 0.996)

Copy-ready code

/* CSS */
color: #0facfe;
background-color: #0facfe;
/* Tailwind (arbitrary) */
class="text-[#0facfe] bg-[#0facfe]"
/* SCSS */
$brand: #0facfe;
/* SwiftUI */
Color(red: 0.059, green: 0.675, blue: 0.996)
/* Android */
Color.parseColor("#0facfe")
/* Flutter */
Color(0xFF0FACFE)
/* Python / OpenCV (BGR) */
(254, 172, 15)

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 #0facfe · 8.35:1
Use #000000AAA at every size.
Aa
White text · 2.51:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.35:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0facfe as text scores 2.51:1 on white and 8.35:1 on black.

Accessibility — WCAG contrast

Aa
#0facfe on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#0facfe on black: 8.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #84AEFF
deuteranopia · #659BFD
tritanopia · #00C0C9

Color scale — 50 to 950

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

#F1F9FE
#E3F4FC
#C0E7FB
#8FD8FF
#57C5FE
#0facfe
#01A0F4
#0186CB
#016BA3
#054F75
#033149
Base = 500Lightest = 50 · #F1F9FEDarkest = 950 · #033149
:root {
  --brand-50: #F1F9FE;
  --brand-100: #E3F4FC;
  --brand-200: #C0E7FB;
  --brand-300: #8FD8FF;
  --brand-400: #57C5FE;
  --brand-500: #0facfe;
  --brand-600: #01A0F4;
  --brand-700: #0186CB;
  --brand-800: #016BA3;
  --brand-900: #054F75;
  --brand-950: #033149;
  --brand: #0facfe;
  --brand-ink: #000000;
}

Colors that work with #0facfe

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#F4F8FA
Tinted page background
Border#C0DDED
Hairlines and dividers
Muted text#4B7F9B
Captions on the surface
Accent#FF240E
Second voice, not a rival
Dark variant#01547F
Hover, pressed, headers
Light variant#E6F6FF
Selected rows, tints
Dark surface#141F24
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 #0facfe

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#FE610F
Analogous left#0FFED9
Analogous right#0F34FE
Split-complement 1#FE0F34
Split-complement 2#FED90F
Triadic 1#FE0FAC
Triadic 2#ACFE0F
Tetradic#D90FFE

RGB percentages

Red5.9%
Green67.5%
Blue99.6%

CMYK percentages

Cyan94.1%
Magenta32.3%
Yellow0.0%
Key (black)0.4%

Color previews

#0facfe text on a black background

contrast 8.35:1

Card sample

#0facfe text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0facfe;
Background color
Panel with #0facfe background
background-color: #0facfe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0facfe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(15, 172, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 172, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0facfe;
background: linear-gradient(135deg, #0facfe, #110FFE);

Monochromatic scale

Palettes built from #0facfe

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.

#0facfe 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.

#0facfe, answered

What color is #0facfe?

#0facfe is a balanced electric blue, closest to Deep Sky Blue (ΔE2000 7.1). It sits at 201° on the hue wheel with 99% saturation and 53% lightness, which reads as cool.

What is the RGB value of #0facfe?

rgb(15, 172, 254) — 15 red, 172 green and 254 blue out of 255, or 5.9% / 67.5% / 99.6% by channel.

Is #0facfe a light or a dark color?

It is a mid-tone. Relative luminance is 0.3676 and perceived brightness is 62%, so black text on it reaches 8.35:1.

Should I use black or white text on #0facfe?

Black. It scores 8.35:1 against #0facfe, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #0facfe?

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

What colors go well with #0facfe?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #FF240E as an accent and #01547F for hover and pressed states. For a palette, the analogous pair #0FFED9 and #0F34FE stays calm, while #FE610F is the loudest partner.

What is #0facfe in CMYK for printing?

cmyk(94%, 32%, 0%, 0%). 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 #0facfe warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0FFEF8; nudged cooler, #008BF3.

Work with #0facfe in the Color Lab