Skip to content

#08a4fd

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

RGB
8, 164, 253
HSL
202°, 98%, 51%
CMYK
97, 35, 0, 1
Luminance
0.3369

At a glance

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

Hex
#08a4fd
Hue
202°
blue
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3369
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.74:1
Closest name
Dodger Blue
ΔE2000 7.5
Where it sits
Hue202° of 360°
Saturation98%
Lightness51%
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#08a4fd
RGBrgb(8, 164, 253)
HSLhsl(202, 98%, 51%)
CMYKcmyk(97%, 35%, 0%, 1%)
LABlab(64.7 -3.4 -53.8)
LCHlch(64.7 53.9 266.4)
OKLCHoklch(0.693 0.170 244.3)
Decimal566525
Display P3color(display-p3 0.031 0.643 0.992)

Copy-ready code

/* CSS */
color: #08a4fd;
background-color: #08a4fd;
/* Tailwind (arbitrary) */
class="text-[#08a4fd] bg-[#08a4fd]"
/* SCSS */
$brand: #08a4fd;
/* SwiftUI */
Color(red: 0.031, green: 0.643, blue: 0.992)
/* Android */
Color.parseColor("#08a4fd")
/* Flutter */
Color(0xFF08A4FD)
/* Python / OpenCV (BGR) */
(253, 164, 8)

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

Accessibility — WCAG contrast

Aa
#08a4fd on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#08a4fd on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #79A8FF
deuteranopia · #5894FB
tritanopia · #00BAC5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #08a4fd 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
#C1E6FB
#90D6FE
#58C1FE
#20ADFD
#08a4fd
#0281CA
#0168A2
#064C75
#043049
Base = 600Lightest = 50 · #F1F9FEDarkest = 950 · #043049
:root {
  --brand-50: #F1F9FE;
  --brand-100: #E3F3FC;
  --brand-200: #C1E6FB;
  --brand-300: #90D6FE;
  --brand-400: #58C1FE;
  --brand-500: #20ADFD;
  --brand-600: #08a4fd;
  --brand-700: #0281CA;
  --brand-800: #0168A2;
  --brand-900: #064C75;
  --brand-950: #043049;
  --brand: #08a4fd;
  --brand-ink: #000000;
}

Colors that work with #08a4fd

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#FF2206
Second voice, not a rival
Dark variant#01517E
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 #08a4fd

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#FD6108
Analogous left#08FDDC
Analogous right#082AFD
Split-complement 1#FD082A
Split-complement 2#FDDC08
Triadic 1#FD08A4
Triadic 2#A4FD08
Tetradic#DC08FD

RGB percentages

Red3.1%
Green64.3%
Blue99.2%

CMYK percentages

Cyan96.8%
Magenta35.2%
Yellow0.0%
Key (black)0.8%

Color previews

#08a4fd text on a black background

contrast 7.74:1

Card sample

#08a4fd text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #08a4fd;
Background color
Panel with #08a4fd background
background-color: #08a4fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #08a4fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 164, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 164, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08a4fd;
background: linear-gradient(135deg, #08a4fd, #0F08FD);

Monochromatic scale

Palettes built from #08a4fd

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.

#08a4fd 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.

#08a4fd, answered

What color is #08a4fd?

#08a4fd is a balanced electric blue, closest to Dodger Blue (ΔE2000 7.5). It sits at 202° on the hue wheel with 98% saturation and 51% lightness, which reads as cool.

What is the RGB value of #08a4fd?

rgb(8, 164, 253) — 8 red, 164 green and 253 blue out of 255, or 3.1% / 64.3% / 99.2% by channel.

Is #08a4fd a light or a dark color?

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

Should I use black or white text on #08a4fd?

Black. It scores 7.74:1 against #08a4fd, versus 2.71:1 for white — AAA at any size.

What is the complementary color of #08a4fd?

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

What colors go well with #08a4fd?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7E9B for secondary text, #FF2206 as an accent and #01517E for hover and pressed states. For a palette, the analogous pair #08FDDC and #082AFD stays calm, while #FD6108 is the loudest partner.

What is #08a4fd in CMYK for printing?

cmyk(97%, 35%, 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 #08a4fd 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 #08FDFC; nudged cooler, #0085EC.

Work with #08a4fd in the Color Lab