Skip to content

#0f8fef

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

RGB
15, 143, 239
HSL
206°, 88%, 50%
CMYK
94, 40, 0, 6
Luminance
0.2598

At a glance

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

Hex
#0f8fef
Hue
206°
blue
Saturation
88%
electric
Lightness
50%
balanced
Brightness
94%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2598
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.20:1
Closest name
Dodger Blue
ΔE2000 2.5
Where it sits
Hue206° of 360°
Saturation88%
Lightness50%
Temperature
Warm ← → Cool98% 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#0f8fef
RGBrgb(15, 143, 239)
HSLhsl(206, 88%, 50%)
CMYKcmyk(94%, 40%, 0%, 6%)
LABlab(58.0 3.9 -56.8)
LCHlch(58.0 56.9 273.9)
OKLCHoklch(0.638 0.174 249.4)
Decimal1019887
Display P3color(display-p3 0.059 0.561 0.937)

Copy-ready code

/* CSS */
color: #0f8fef;
background-color: #0f8fef;
/* Tailwind (arbitrary) */
class="text-[#0f8fef] bg-[#0f8fef]"
/* SCSS */
$brand: #0f8fef;
/* SwiftUI */
Color(red: 0.059, green: 0.561, blue: 0.937)
/* Android */
Color.parseColor("#0f8fef")
/* Flutter */
Color(0xFF0F8FEF)
/* Python / OpenCV (BGR) */
(239, 143, 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 #0f8fef · 6.20:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.39:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.20:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #0f8fef as text scores 3.39:1 on white and 6.20:1 on black.

Accessibility — WCAG contrast

Aa
#0f8fef on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#0f8fef on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5E95F3
deuteranopia · #3983ED
tritanopia · #00A6B3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0f8fef 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
#E5F1FA
#C4E2F8
#95CEF8
#61B5F5
#2C9DF2
#0f8fef
#0C73C0
#0A5C9A
#0C446F
#072B45
Base = 600Lightest = 50 · #F2F8FDDarkest = 950 · #072B45
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E5F1FA;
  --brand-200: #C4E2F8;
  --brand-300: #95CEF8;
  --brand-400: #61B5F5;
  --brand-500: #2C9DF2;
  --brand-600: #0f8fef;
  --brand-700: #0C73C0;
  --brand-800: #0A5C9A;
  --brand-900: #0C446F;
  --brand-950: #072B45;
  --brand: #0f8fef;
  --brand-ink: #000000;
}

Colors that work with #0f8fef

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#C0D9ED
Hairlines and dividers
Muted text#4B799B
Captions on the surface
Accent#F4340A
Second voice, not a rival
Dark variant#084878
Hover, pressed, headers
Light variant#E7F4FD
Selected rows, tints
Dark surface#141D24
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 #0f8fef

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#EF6F0F
Analogous left#0FEFDF
Analogous right#0F1FEF
Split-complement 1#EF0F1F
Split-complement 2#EFDF0F
Triadic 1#EF0F8F
Triadic 2#8FEF0F
Tetradic#DF0FEF

RGB percentages

Red5.9%
Green56.1%
Blue93.7%

CMYK percentages

Cyan93.7%
Magenta40.2%
Yellow0.0%
Key (black)6.3%

Color previews

#0f8fef text on a black background

contrast 6.20:1

Card sample

#0f8fef text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 143, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 143, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f8fef;
background: linear-gradient(135deg, #0f8fef, #240FEF);

Monochromatic scale

Palettes built from #0f8fef

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.

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

#0f8fef, answered

What color is #0f8fef?

#0f8fef is a balanced electric blue, closest to Dodger Blue (ΔE2000 2.5). It sits at 206° on the hue wheel with 88% saturation and 50% lightness, which reads as cool.

What is the RGB value of #0f8fef?

rgb(15, 143, 239) — 15 red, 143 green and 239 blue out of 255, or 5.9% / 56.1% / 93.7% by channel.

Is #0f8fef a light or a dark color?

It is a mid-tone. Relative luminance is 0.2598 and perceived brightness is 53%, so black text on it reaches 6.20:1.

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

Black. It scores 6.20:1 against #0f8fef, versus 3.39:1 for white — AA at any size.

What is the complementary color of #0f8fef?

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

What colors go well with #0f8fef?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B799B for secondary text, #F4340A as an accent and #084878 for hover and pressed states. For a palette, the analogous pair #0FEFDF and #0F1FEF stays calm, while #EF6F0F is the loudest partner.

What is #0f8fef in CMYK for printing?

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

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0F3DEF; nudged cooler, #0B77D9.

Work with #0f8fef in the Color Lab