Skip to content

#0d7cdf

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

RGB
13, 124, 223
HSL
208°, 89%, 46%
CMYK
94, 44, 0, 13
Luminance
0.1983

At a glance

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

Hex
#0d7cdf
Hue
208°
blue
Saturation
89%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1983
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
4.97:1
Closest name
Steel Blue
ΔE2000 4.8
Where it sits
Hue208° of 360°
Saturation89%
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#0d7cdf
RGBrgb(13, 124, 223)
HSLhsl(208, 89%, 46%)
CMYKcmyk(94%, 44%, 0%, 13%)
LABlab(51.6 9.2 -58.0)
LCHlch(51.6 58.8 279.0)
OKLCHoklch(0.585 0.175 252.8)
Decimal883935
Display P3color(display-p3 0.051 0.486 0.875)

Copy-ready code

/* CSS */
color: #0d7cdf;
background-color: #0d7cdf;
/* Tailwind (arbitrary) */
class="text-[#0d7cdf] bg-[#0d7cdf]"
/* SCSS */
$brand: #0d7cdf;
/* SwiftUI */
Color(red: 0.051, green: 0.486, blue: 0.875)
/* Android */
Color.parseColor("#0d7cdf")
/* Flutter */
Color(0xFF0D7CDF)
/* Python / OpenCV (BGR) */
(223, 124, 13)

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

Accessibility — WCAG contrast

Aa
#0d7cdf on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#0d7cdf on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4684E3
deuteranopia · #1373DD
tritanopia · #0094A2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0d7cdf 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
#E5F0FB
#C4DFF8
#95CAF9
#60AFF6
#2B94F3
#0d7cdf
#0B6BC1
#09569A
#0B406F
#072846
Base = 600Lightest = 50 · #F2F8FDDarkest = 950 · #072846
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E5F0FB;
  --brand-200: #C4DFF8;
  --brand-300: #95CAF9;
  --brand-400: #60AFF6;
  --brand-500: #2B94F3;
  --brand-600: #0d7cdf;
  --brand-700: #0B6BC1;
  --brand-800: #09569A;
  --brand-900: #0B406F;
  --brand-950: #072846;
  --brand: #0d7cdf;
  --brand-ink: #000000;
}

Colors that work with #0d7cdf

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#C0D7ED
Hairlines and dividers
Muted text#4B759B
Captions on the surface
Accent#E43908
Second voice, not a rival
Dark variant#074378
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 #0d7cdf

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#DF700D
Analogous left#0DDFD9
Analogous right#0D13DF
Split-complement 1#DF0D13
Split-complement 2#DFD90D
Triadic 1#DF0D7C
Triadic 2#7CDF0D
Tetradic#D90DDF

RGB percentages

Red5.1%
Green48.6%
Blue87.5%

CMYK percentages

Cyan94.2%
Magenta44.4%
Yellow0.0%
Key (black)12.5%

Color previews

#0d7cdf text on a black background

contrast 4.97:1

Card sample

#0d7cdf text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 124, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 124, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d7cdf;
background: linear-gradient(135deg, #0d7cdf, #2A0DDF);

Monochromatic scale

Palettes built from #0d7cdf

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.

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

#0d7cdf, answered

What color is #0d7cdf?

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

What is the RGB value of #0d7cdf?

rgb(13, 124, 223) — 13 red, 124 green and 223 blue out of 255, or 5.1% / 48.6% / 87.5% by channel.

Is #0d7cdf a light or a dark color?

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

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

Black. It scores 4.97:1 against #0d7cdf, versus 4.23:1 for white — AA at any size.

What is the complementary color of #0d7cdf?

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

What colors go well with #0d7cdf?

For interface work: #F4F8FA as the surface, #C0D7ED for borders, #4B759B for secondary text, #E43908 as an accent and #074378 for hover and pressed states. For a palette, the analogous pair #0DDFD9 and #0D13DF stays calm, while #DF700D is the loudest partner.

What is #0d7cdf in CMYK for printing?

cmyk(94%, 44%, 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 #0d7cdf 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 #0D2FDF; nudged cooler, #096AC9.

Work with #0d7cdf in the Color Lab