Skip to content

#01a7fd

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

RGB
1, 167, 253
HSL
201°, 99%, 50%
CMYK
100, 34, 0, 1
Luminance
0.3474

At a glance

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

Hex
#01a7fd
Hue
201°
blue
Saturation
99%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3474
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.95:1
Closest name
Dodger Blue
ΔE2000 8.6
Where it sits
Hue201° of 360°
Saturation99%
Lightness50%
Temperature
Warm ← → Cool96% 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#01a7fd
RGBrgb(1, 167, 253)
HSLhsl(201, 99%, 50%)
CMYKcmyk(100%, 34%, 0%, 1%)
LABlab(65.5 -5.3 -52.5)
LCHlch(65.5 52.7 264.3)
OKLCHoklch(0.699 0.168 242.8)
Decimal108541
Display P3color(display-p3 0.004 0.655 0.992)

Copy-ready code

/* CSS */
color: #01a7fd;
background-color: #01a7fd;
/* Tailwind (arbitrary) */
class="text-[#01a7fd] bg-[#01a7fd]"
/* SCSS */
$brand: #01a7fd;
/* SwiftUI */
Color(red: 0.004, green: 0.655, blue: 0.992)
/* Android */
Color.parseColor("#01a7fd")
/* Flutter */
Color(0xFF01A7FD)
/* Python / OpenCV (BGR) */
(253, 167, 1)

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 #01a7fd · 7.95:1
Use #000000AAA at every size.
Aa
White text · 2.64:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.95:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #01a7fd as text scores 2.64:1 on white and 7.95:1 on black.

Accessibility — WCAG contrast

Aa
#01a7fd on white: 2.64:1
AA ✗ fail · AA-large · AAA
Aa
#01a7fd on black: 7.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7DAAFF
deuteranopia · #5D96FB
tritanopia · #00BCC6

Color scale — 50 to 950

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

#F1F9FE
#E3F4FC
#C0E7FB
#8FD9FF
#57C5FE
#1FB2FE
#01a7fd
#0186CB
#016BA3
#054F75
#033149
Base = 600Lightest = 50 · #F1F9FEDarkest = 950 · #033149
:root {
  --brand-50: #F1F9FE;
  --brand-100: #E3F4FC;
  --brand-200: #C0E7FB;
  --brand-300: #8FD9FF;
  --brand-400: #57C5FE;
  --brand-500: #1FB2FE;
  --brand-600: #01a7fd;
  --brand-700: #0186CB;
  --brand-800: #016BA3;
  --brand-900: #054F75;
  --brand-950: #033149;
  --brand: #01a7fd;
  --brand-ink: #000000;
}

Colors that work with #01a7fd

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#C0DDED
Hairlines and dividers
Muted text#4B7F9B
Captions on the surface
Accent#FE1700
Second voice, not a rival
Dark variant#01547F
Hover, pressed, headers
Light variant#E6F6FF
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 #01a7fd

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#FD5701
Analogous left#01FDD5
Analogous right#0129FD
Split-complement 1#FD0129
Split-complement 2#FDD501
Triadic 1#FD01A7
Triadic 2#A7FD01
Tetradic#D501FD

RGB percentages

Red0.4%
Green65.5%
Blue99.2%

CMYK percentages

Cyan99.6%
Magenta34.0%
Yellow0.0%
Key (black)0.8%

Color previews

#01a7fd text on a black background

contrast 7.95:1

Card sample

#01a7fd text on a white background

contrast 2.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #01a7fd;
Background color
Panel with #01a7fd background
background-color: #01a7fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #01a7fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(1, 167, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 167, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #01a7fd;
background: linear-gradient(135deg, #01a7fd, #0301FD);

Monochromatic scale

Palettes built from #01a7fd

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.

#01a7fd 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.

#01a7fd, answered

What color is #01a7fd?

#01a7fd is a balanced electric blue, closest to Dodger Blue (ΔE2000 8.6). It sits at 201° on the hue wheel with 99% saturation and 50% lightness, which reads as cool.

What is the RGB value of #01a7fd?

rgb(1, 167, 253) — 1 red, 167 green and 253 blue out of 255, or 0.4% / 65.5% / 99.2% by channel.

Is #01a7fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3474 and perceived brightness is 60%, so black text on it reaches 7.95:1.

Should I use black or white text on #01a7fd?

Black. It scores 7.95:1 against #01a7fd, versus 2.64:1 for white — AAA at any size.

What is the complementary color of #01a7fd?

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

What colors go well with #01a7fd?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #FE1700 as an accent and #01547F for hover and pressed states. For a palette, the analogous pair #01FDD5 and #0129FD stays calm, while #FD5701 is the loudest partner.

What is #01a7fd in CMYK for printing?

cmyk(100%, 34%, 0%, 1%). 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 #01a7fd warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #01FDF7; nudged cooler, #0084E4.

Work with #01a7fd in the Color Lab