Skip to content

#01a2fd

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

RGB
1, 162, 253
HSL
202°, 99%, 50%
CMYK
100, 36, 0, 1
Luminance
0.3294

At a glance

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

Hex
#01a2fd
Hue
202°
blue
Saturation
99%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3294
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.59:1
Closest name
Dodger Blue
ΔE2000 6.9
Where it sits
Hue202° of 360°
Saturation99%
Lightness50%
Temperature
Warm ← → Cool97% 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#01a2fd
RGBrgb(1, 162, 253)
HSLhsl(202, 99%, 50%)
CMYKcmyk(100%, 36%, 0%, 1%)
LABlab(64.1 -2.4 -54.8)
LCHlch(64.1 54.8 267.5)
OKLCHoklch(0.688 0.173 244.9)
Decimal107261
Display P3color(display-p3 0.004 0.635 0.992)

Copy-ready code

/* CSS */
color: #01a2fd;
background-color: #01a2fd;
/* Tailwind (arbitrary) */
class="text-[#01a2fd] bg-[#01a2fd]"
/* SCSS */
$brand: #01a2fd;
/* SwiftUI */
Color(red: 0.004, green: 0.635, blue: 0.992)
/* Android */
Color.parseColor("#01a2fd")
/* Flutter */
Color(0xFF01A2FD)
/* Python / OpenCV (BGR) */
(253, 162, 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 #01a2fd · 7.59:1
Use #000000AAA at every size.
Aa
White text · 2.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.59:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #01a2fd as text scores 2.77:1 on white and 7.59:1 on black.

Accessibility — WCAG contrast

Aa
#01a2fd on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#01a2fd on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #75A6FF
deuteranopia · #5393FB
tritanopia · #00B8C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #01a2fd 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
#E3F3FC
#C0E6FB
#8FD6FF
#57C2FE
#1FAEFE
#01a2fd
#0182CB
#0168A3
#054D75
#033049
Base = 600Lightest = 50 · #F1F9FEDarkest = 950 · #033049
:root {
  --brand-50: #F1F9FE;
  --brand-100: #E3F3FC;
  --brand-200: #C0E6FB;
  --brand-300: #8FD6FF;
  --brand-400: #57C2FE;
  --brand-500: #1FAEFE;
  --brand-600: #01a2fd;
  --brand-700: #0182CB;
  --brand-800: #0168A3;
  --brand-900: #054D75;
  --brand-950: #033049;
  --brand: #01a2fd;
  --brand-ink: #000000;
}

Colors that work with #01a2fd

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#C0DCED
Hairlines and dividers
Muted text#4B7E9B
Captions on the surface
Accent#FE1C00
Second voice, not a rival
Dark variant#01517F
Hover, pressed, headers
Light variant#E6F6FF
Selected rows, tints
Dark surface#141E24
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 #01a2fd

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#FD5C01
Analogous left#01FDDA
Analogous right#0124FD
Split-complement 1#FD0124
Split-complement 2#FDDA01
Triadic 1#FD01A2
Triadic 2#A2FD01
Tetradic#DA01FD

RGB percentages

Red0.4%
Green63.5%
Blue99.2%

CMYK percentages

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

Color previews

#01a2fd text on a black background

contrast 7.59:1

Card sample

#01a2fd text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #01a2fd

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.

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

#01a2fd, answered

What color is #01a2fd?

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

What is the RGB value of #01a2fd?

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

Is #01a2fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3294 and perceived brightness is 59%, so black text on it reaches 7.59:1.

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

Black. It scores 7.59:1 against #01a2fd, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #01a2fd?

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

What colors go well with #01a2fd?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7E9B for secondary text, #FE1C00 as an accent and #01517F for hover and pressed states. For a palette, the analogous pair #01FDDA and #0124FD stays calm, while #FD5C01 is the loudest partner.

What is #01a2fd in CMYK for printing?

cmyk(100%, 36%, 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 #01a2fd warm or cool?

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

Work with #01a2fd in the Color Lab