Skip to content

#0f98eb

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

RGB
15, 152, 235
HSL
203°, 88%, 49%
CMYK
94, 35, 0, 8
Luminance
0.2856

At a glance

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

Hex
#0f98eb
Hue
203°
blue
Saturation
88%
electric
Lightness
49%
balanced
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2856
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.71:1
Closest name
Dodger Blue
ΔE2000 5.1
Where it sits
Hue203° of 360°
Saturation88%
Lightness49%
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#0f98eb
RGBrgb(15, 152, 235)
HSLhsl(203, 88%, 49%)
CMYKcmyk(94%, 35%, 0%, 8%)
LABlab(60.4 -3.0 -50.8)
LCHlch(60.4 50.9 266.7)
OKLCHoklch(0.656 0.160 244.6)
Decimal1022187
Display P3color(display-p3 0.059 0.596 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f98eb on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#0f98eb on black: 6.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #709BEE
deuteranopia · #5189E9
tritanopia · #00ACB6

Color scale — 50 to 950

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

#F2F9FD
#E5F2FA
#C4E4F8
#96D3F8
#61BDF5
#2CA7F2
#0f98eb
#0C7CC0
#0A6399
#0C496F
#072E45
Base = 600Lightest = 50 · #F2F9FDDarkest = 950 · #072E45
:root {
  --brand-50: #F2F9FD;
  --brand-100: #E5F2FA;
  --brand-200: #C4E4F8;
  --brand-300: #96D3F8;
  --brand-400: #61BDF5;
  --brand-500: #2CA7F2;
  --brand-600: #0f98eb;
  --brand-700: #0C7CC0;
  --brand-800: #0A6399;
  --brand-900: #0C496F;
  --brand-950: #072E45;
  --brand: #0f98eb;
  --brand-ink: #000000;
}

Colors that work with #0f98eb

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#C0DCED
Hairlines and dividers
Muted text#4B7D9B
Captions on the surface
Accent#F0270A
Second voice, not a rival
Dark variant#084E78
Hover, pressed, headers
Light variant#E7F5FD
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 #0f98eb

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#EB620F
Analogous left#0FEBD0
Analogous right#0F2AEB
Split-complement 1#EB0F2A
Split-complement 2#EBD00F
Triadic 1#EB0F98
Triadic 2#98EB0F
Tetradic#D00FEB

RGB percentages

Red5.9%
Green59.6%
Blue92.2%

CMYK percentages

Cyan93.6%
Magenta35.3%
Yellow0.0%
Key (black)7.8%

Color previews

#0f98eb text on a black background

contrast 6.71:1

Card sample

#0f98eb text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 152, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 152, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f98eb;
background: linear-gradient(135deg, #0f98eb, #190FEB);

Monochromatic scale

Palettes built from #0f98eb

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.

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

#0f98eb, answered

What color is #0f98eb?

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

What is the RGB value of #0f98eb?

rgb(15, 152, 235) — 15 red, 152 green and 235 blue out of 255, or 5.9% / 59.6% / 92.2% by channel.

Is #0f98eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2856 and perceived brightness is 55%, so black text on it reaches 6.71:1.

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

Black. It scores 6.71:1 against #0f98eb, versus 3.13:1 for white — AA at any size.

What is the complementary color of #0f98eb?

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

What colors go well with #0f98eb?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7D9B for secondary text, #F0270A as an accent and #084E78 for hover and pressed states. For a palette, the analogous pair #0FEBD0 and #0F2AEB stays calm, while #EB620F is the loudest partner.

What is #0f98eb in CMYK for printing?

cmyk(94%, 35%, 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 #0f98eb 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 #0FE9EB; nudged cooler, #0B7BD5.

Work with #0f98eb in the Color Lab