Skip to content

#0d2fd0

a dark, electric blue · cool · closest name: Blue

RGB
13, 47, 208
HSL
230°, 88%, 43%
CMYK
94, 77, 0, 18
Luminance
0.0667

At a glance

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

Hex
#0d2fd0
Hue
230°
blue
Saturation
88%
electric
Lightness
43%
dark
Brightness
82%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0667
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.00:1
Closest name
Blue
ΔE2000 6.3
Where it sits
Hue230° of 360°
Saturation88%
Lightness43%
Temperature
Warm ← → Cool89% 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#0d2fd0
RGBrgb(13, 47, 208)
HSLhsl(230, 88%, 43%)
CMYKcmyk(94%, 77%, 0%, 18%)
LABlab(31.1 51.9 -83.1)
LCHlch(31.1 98.0 302.0)
OKLCHoklch(0.427 0.242 265.1)
Decimal864208
Display P3color(display-p3 0.051 0.184 0.816)

Copy-ready code

/* CSS */
color: #0d2fd0;
background-color: #0d2fd0;
/* Tailwind (arbitrary) */
class="text-[#0d2fd0] bg-[#0d2fd0]"
/* SCSS */
$brand: #0d2fd0;
/* SwiftUI */
Color(red: 0.051, green: 0.184, blue: 0.816)
/* Android */
Color.parseColor("#0d2fd0")
/* Flutter */
Color(0xFF0D2FD0)
/* Python / OpenCV (BGR) */
(208, 47, 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#ffffff on #0d2fd0 · 9.00:1
Use #ffffffAAA at every size.
Aa
White text · 9.00:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.33:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0d2fd0 as text scores 9.00:1 on white and 2.33:1 on black.

Accessibility — WCAG contrast

Aa
#0d2fd0 on white: 9.00:1
AA ✓ pass · AA-large · AAA
Aa
#0d2fd0 on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052D5
deuteranopia · #003FCD
tritanopia · #00617F

Color scale — 50 to 950

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

#F2F4FD
#E5E9FA
#C4CDF8
#95A7F8
#617BF5
#2C4EF2
#0E34E6
#0d2fd0
#0A239A
#0C1D6F
#071245
Base = 700Lightest = 50 · #F2F4FDDarkest = 950 · #071245
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E5E9FA;
  --brand-200: #C4CDF8;
  --brand-300: #95A7F8;
  --brand-400: #617BF5;
  --brand-500: #2C4EF2;
  --brand-600: #0E34E6;
  --brand-700: #0d2fd0;
  --brand-800: #0A239A;
  --brand-900: #0C1D6F;
  --brand-950: #071245;
  --brand: #0d2fd0;
  --brand-ink: #ffffff;
}

Colors that work with #0d2fd0

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#F4F5FA
Tinted page background
Border#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#C47408
Second voice, not a rival
Dark variant#081B78
Hover, pressed, headers
Light variant#E7EBFD
Selected rows, tints
Dark surface#141724
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 #0d2fd0

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

Works well for
  • Body text and links on white
  • 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
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#D0AE0D
Analogous left#0D91D0
Analogous right#4C0DD0
Split-complement 1#D04C0D
Split-complement 2#91D00D
Triadic 1#D00D2F
Triadic 2#2FD00D
Tetradic#D00D91

RGB percentages

Red5.1%
Green18.4%
Blue81.6%

CMYK percentages

Cyan93.8%
Magenta77.4%
Yellow0.0%
Key (black)18.4%

Color previews

#0d2fd0 text on a black background

contrast 2.33:1

Card sample

#0d2fd0 text on a white background

contrast 9.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 47, 208, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 47, 208, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d2fd0;
background: linear-gradient(135deg, #0d2fd0, #6D0DD0);

Monochromatic scale

Palettes built from #0d2fd0

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.

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

#0d2fd0, answered

What color is #0d2fd0?

#0d2fd0 is a dark electric blue, closest to Blue (ΔE2000 6.3). It sits at 230° on the hue wheel with 88% saturation and 43% lightness, which reads as cool.

What is the RGB value of #0d2fd0?

rgb(13, 47, 208) — 13 red, 47 green and 208 blue out of 255, or 5.1% / 18.4% / 81.6% by channel.

Is #0d2fd0 a light or a dark color?

It is a dark color. Relative luminance is 0.0667 and perceived brightness is 31%, so white text on it reaches 9.00:1.

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

White. It scores 9.00:1 against #0d2fd0, versus 2.33:1 for black — AAA at any size.

What is the complementary color of #0d2fd0?

#D0AE0D sits directly opposite on the wheel. Softer options are the split-complements #D04C0D and #91D00D, which give the same contrast with far less vibration.

What colors go well with #0d2fd0?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #C47408 as an accent and #081B78 for hover and pressed states. For a palette, the analogous pair #0D91D0 and #4C0DD0 stays calm, while #D0AE0D is the loudest partner.

What is #0d2fd0 in CMYK for printing?

cmyk(94%, 77%, 0%, 18%). 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 #0d2fd0 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #320DD0; nudged cooler, #0B4BD2.

Work with #0d2fd0 in the Color Lab