Skip to content

#0f7daf

a dark, electric cyan · cool · closest name: Steel Blue

RGB
15, 125, 175
HSL
199°, 84%, 37%
CMYK
91, 29, 0, 31
Luminance
0.1786

At a glance

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

Hex
#0f7daf
Hue
199°
cyan
Saturation
84%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1786
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
4.59:1
Closest name
Steel Blue
ΔE2000 5.3
Where it sits
Hue199° of 360°
Saturation84%
Lightness37%
Temperature
Warm ← → Cool95% 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#0f7daf
RGBrgb(15, 125, 175)
HSLhsl(199, 84%, 37%)
CMYKcmyk(91%, 29%, 0%, 31%)
LABlab(49.3 -9.8 -34.3)
LCHlch(49.3 35.7 254.1)
OKLCHoklch(0.558 0.117 236.3)
Decimal1015215
Display P3color(display-p3 0.059 0.490 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f7daf on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#0f7daf on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #647DB1
deuteranopia · #506FAE
tritanopia · #008A8E

Color scale — 50 to 950

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

#F2F9FC
#E6F3FA
#C5E7F6
#98D9F6
#64C5F2
#30B2ED
#13A1E1
#0f7daf
#0D6B96
#0E4F6D
#093144
Base = 700Lightest = 50 · #F2F9FCDarkest = 950 · #093144
:root {
  --brand-50: #F2F9FC;
  --brand-100: #E6F3FA;
  --brand-200: #C5E7F6;
  --brand-300: #98D9F6;
  --brand-400: #64C5F2;
  --brand-500: #30B2ED;
  --brand-600: #13A1E1;
  --brand-700: #0f7daf;
  --brand-800: #0D6B96;
  --brand-900: #0E4F6D;
  --brand-950: #093144;
  --brand: #0f7daf;
  --brand-ink: #ffffff;
}

Colors that work with #0f7daf

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#F4F8FA
Tinted page background
Border#C0DFED
Hairlines and dividers
Muted text#4B829B
Captions on the surface
Accent#B3160B
Second voice, not a rival
Dark variant#0A5475
Hover, pressed, headers
Light variant#E8F6FD
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 #0f7daf

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#AF410F
Analogous left#0FAF91
Analogous right#0F2DAF
Split-complement 1#AF0F2D
Split-complement 2#AF910F
Triadic 1#AF0F7D
Triadic 2#7DAF0F
Tetradic#910FAF

RGB percentages

Red5.9%
Green49.0%
Blue68.6%

CMYK percentages

Cyan91.4%
Magenta28.6%
Yellow0.0%
Key (black)31.4%

Color previews

#0f7daf text on a black background

contrast 4.57:1

Card sample

#0f7daf text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f7daf

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.

#0f7daf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0f7daf, answered

What color is #0f7daf?

#0f7daf is a dark electric cyan, closest to Steel Blue (ΔE2000 5.3). It sits at 199° on the hue wheel with 84% saturation and 37% lightness, which reads as cool.

What is the RGB value of #0f7daf?

rgb(15, 125, 175) — 15 red, 125 green and 175 blue out of 255, or 5.9% / 49% / 68.6% by channel.

Is #0f7daf a light or a dark color?

It is a dark color. Relative luminance is 0.1786 and perceived brightness is 44%, so white text on it reaches 4.59:1.

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

White. It scores 4.59:1 against #0f7daf, versus 4.57:1 for black — AA at any size.

What is the complementary color of #0f7daf?

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

What colors go well with #0f7daf?

For interface work: #F4F8FA as the surface, #C0DFED for borders, #4B829B for secondary text, #B3160B as an accent and #0A5475 for hover and pressed states. For a palette, the analogous pair #0FAF91 and #0F2DAF stays calm, while #AF410F is the loudest partner.

What is #0f7daf in CMYK for printing?

cmyk(91%, 29%, 0%, 31%). 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 #0f7daf warm or cool?

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

Work with #0f7daf in the Color Lab