Skip to content

#0a7fdf

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

RGB
10, 127, 223
HSL
207°, 91%, 46%
CMYK
96, 43, 0, 13
Luminance
0.2057

At a glance

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

Hex
#0a7fdf
Hue
207°
blue
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2057
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.11:1
Closest name
Steel Blue
ΔE2000 4.5
Where it sits
Hue207° of 360°
Saturation91%
Lightness46%
Temperature
Warm ← → Cool99% 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#0a7fdf
RGBrgb(10, 127, 223)
HSLhsl(207, 91%, 46%)
CMYKcmyk(96%, 43%, 0%, 13%)
LABlab(52.5 7.3 -56.7)
LCHlch(52.5 57.2 277.3)
OKLCHoklch(0.592 0.172 251.6)
Decimal688095
Display P3color(display-p3 0.039 0.498 0.875)

Copy-ready code

/* CSS */
color: #0a7fdf;
background-color: #0a7fdf;
/* Tailwind (arbitrary) */
class="text-[#0a7fdf] bg-[#0a7fdf]"
/* SCSS */
$brand: #0a7fdf;
/* SwiftUI */
Color(red: 0.039, green: 0.498, blue: 0.875)
/* Android */
Color.parseColor("#0a7fdf")
/* Flutter */
Color(0xFF0A7FDF)
/* Python / OpenCV (BGR) */
(223, 127, 10)

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

Accessibility — WCAG contrast

Aa
#0a7fdf on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#0a7fdf on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4C87E3
deuteranopia · #2175DD
tritanopia · #0096A4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0a7fdf 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
#E4F1FB
#C3E1F9
#94CCFA
#5EB3F8
#2899F5
#0a7fdf
#096FC3
#07599C
#0A4271
#062946
Base = 600Lightest = 50 · #F2F8FDDarkest = 950 · #062946
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E4F1FB;
  --brand-200: #C3E1F9;
  --brand-300: #94CCFA;
  --brand-400: #5EB3F8;
  --brand-500: #2899F5;
  --brand-600: #0a7fdf;
  --brand-700: #096FC3;
  --brand-800: #07599C;
  --brand-900: #0A4271;
  --brand-950: #062946;
  --brand: #0a7fdf;
  --brand-ink: #000000;
}

Colors that work with #0a7fdf

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#C0D8ED
Hairlines and dividers
Muted text#4B779B
Captions on the surface
Accent#E43205
Second voice, not a rival
Dark variant#05467A
Hover, pressed, headers
Light variant#E7F3FE
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 #0a7fdf

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#DF6A0A
Analogous left#0ADFD4
Analogous right#0A15DF
Split-complement 1#DF0A15
Split-complement 2#DFD40A
Triadic 1#DF0A7F
Triadic 2#7FDF0A
Tetradic#D40ADF

RGB percentages

Red3.9%
Green49.8%
Blue87.5%

CMYK percentages

Cyan95.5%
Magenta43.0%
Yellow0.0%
Key (black)12.5%

Color previews

#0a7fdf text on a black background

contrast 5.11:1

Card sample

#0a7fdf text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(10, 127, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 127, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a7fdf;
background: linear-gradient(135deg, #0a7fdf, #230ADF);

Monochromatic scale

Palettes built from #0a7fdf

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.

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

#0a7fdf, answered

What color is #0a7fdf?

#0a7fdf is a balanced electric blue, closest to Steel Blue (ΔE2000 4.5). It sits at 207° on the hue wheel with 91% saturation and 46% lightness, which reads as cool.

What is the RGB value of #0a7fdf?

rgb(10, 127, 223) — 10 red, 127 green and 223 blue out of 255, or 3.9% / 49.8% / 87.5% by channel.

Is #0a7fdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2057 and perceived brightness is 48%, so black text on it reaches 5.11:1.

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

Black. It scores 5.11:1 against #0a7fdf, versus 4.11:1 for white — AA at any size.

What is the complementary color of #0a7fdf?

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

What colors go well with #0a7fdf?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B779B for secondary text, #E43205 as an accent and #05467A for hover and pressed states. For a palette, the analogous pair #0ADFD4 and #0A15DF stays calm, while #DF6A0A is the loudest partner.

What is #0a7fdf in CMYK for printing?

cmyk(96%, 43%, 0%, 13%). 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 #0a7fdf warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0A31DF; nudged cooler, #076AC9.

Work with #0a7fdf in the Color Lab