Skip to content

#0f07fd

a balanced, electric blue · cool · “Blue”

RGB
15, 7, 253
HSL
242°, 98%, 51%
CMYK
94, 97, 0, 1
Luminance
0.0735

At a glance

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

Hex
#0f07fd
Hue
242°
blue
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0735
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.51:1
Closest name
Blue
ΔE2000 0.4
Where it sits
Hue242° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool82% 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#0f07fd
RGBrgb(15, 7, 253)
HSLhsl(242, 98%, 51%)
CMYKcmyk(94%, 97%, 0%, 1%)
LABlab(32.6 77.7 -106.3)
LCHlch(32.6 131.7 306.2)
OKLCHoklch(0.454 0.308 265.1)
Decimal985085
Display P3color(display-p3 0.059 0.027 0.992)

Copy-ready code

/* CSS */
color: #0f07fd;
background-color: #0f07fd;
/* Tailwind (arbitrary) */
class="text-[#0f07fd] bg-[#0f07fd]"
/* SCSS */
$brand: #0f07fd;
/* SwiftUI */
Color(red: 0.059, green: 0.027, blue: 0.992)
/* Android */
Color.parseColor("#0f07fd")
/* Flutter */
Color(0xFF0F07FD)
/* Python / OpenCV (BGR) */
(253, 7, 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#ffffff on #0f07fd · 8.51:1
Use #ffffffAAA at every size.
Aa
White text · 8.51:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.47:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0f07fd as text scores 8.51:1 on white and 2.47:1 on black.

Accessibility — WCAG contrast

Aa
#0f07fd on white: 8.51:1
AA ✓ pass · AA-large · AAA
Aa
#0f07fd on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059FF
deuteranopia · #003FFA
tritanopia · #006B95

Color scale — 50 to 950

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

#F2F1FE
#E4E3FC
#C2C1FB
#9390FE
#5E58FE
#2820FD
#0f07fd
#0802CA
#0701A2
#090675
#060449
Base = 600Lightest = 50 · #F2F1FEDarkest = 950 · #060449
:root {
  --brand-50: #F2F1FE;
  --brand-100: #E4E3FC;
  --brand-200: #C2C1FB;
  --brand-300: #9390FE;
  --brand-400: #5E58FE;
  --brand-500: #2820FD;
  --brand-600: #0f07fd;
  --brand-700: #0802CA;
  --brand-800: #0701A2;
  --brand-900: #090675;
  --brand-950: #060449;
  --brand: #0f07fd;
  --brand-ink: #ffffff;
}

Colors that work with #0f07fd

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#F4F4FA
Tinted page background
Border#C1C0ED
Hairlines and dividers
Muted text#4D4B9B
Captions on the surface
Accent#CCA000
Second voice, not a rival
Dark variant#05017E
Hover, pressed, headers
Light variant#E7E6FF
Selected rows, tints
Dark surface#141424
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 #0f07fd

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
  • Text on black or near-black surfaces
  • 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#F5FD07
Analogous left#077AFD
Analogous right#8A07FD
Split-complement 1#FD8A07
Split-complement 2#7AFD07
Triadic 1#FD0F07
Triadic 2#07FD0F
Tetradic#FD077A

RGB percentages

Red5.9%
Green2.7%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta97.2%
Yellow0.0%
Key (black)0.8%

Color previews

#0f07fd text on a black background

contrast 2.47:1

Card sample

#0f07fd text on a white background

contrast 8.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 7, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 7, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f07fd;
background: linear-gradient(135deg, #0f07fd, #B307FD);

Monochromatic scale

Palettes built from #0f07fd

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.

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

#0f07fd, answered

What color is #0f07fd?

#0f07fd is a balanced electric blue — the CSS keyword Blue. It sits at 242° on the hue wheel with 98% saturation and 51% lightness, which reads as cool.

What is the RGB value of #0f07fd?

rgb(15, 7, 253) — 15 red, 7 green and 253 blue out of 255, or 5.9% / 2.7% / 99.2% by channel.

Is #0f07fd a light or a dark color?

It is a dark color. Relative luminance is 0.0735 and perceived brightness is 34%, so white text on it reaches 8.51:1.

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

White. It scores 8.51:1 against #0f07fd, versus 2.47:1 for black — AAA at any size.

What is the complementary color of #0f07fd?

#F5FD07 sits directly opposite on the wheel. Softer options are the split-complements #FD8A07 and #7AFD07, which give the same contrast with far less vibration.

What colors go well with #0f07fd?

For interface work: #F4F4FA as the surface, #C1C0ED for borders, #4D4B9B for secondary text, #CCA000 as an accent and #05017E for hover and pressed states. For a palette, the analogous pair #077AFD and #8A07FD stays calm, while #F5FD07 is the loudest partner.

What is #0f07fd in CMYK for printing?

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

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6907FD; nudged cooler, #0535FF.

Work with #0f07fd in the Color Lab