Skip to content

#0ab5fd

a balanced, electric cyan · cool · closest name: Deep Sky Blue

RGB
10, 181, 253
HSL
198°, 98%, 52%
CMYK
96, 29, 0, 1
Luminance
0.4020

At a glance

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

Hex
#0ab5fd
Hue
198°
cyan
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
64%
weighted brightness
Luminance
0.4020
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
9.04:1
Closest name
Deep Sky Blue
ΔE2000 3.6
Where it sits
Hue198° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool95% 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#0ab5fd
RGBrgb(10, 181, 253)
HSLhsl(198, 98%, 52%)
CMYKcmyk(96%, 29%, 0%, 1%)
LABlab(69.6 -12.8 -46.1)
LCHlch(69.6 47.8 254.5)
OKLCHoklch(0.732 0.157 236.4)
Decimal701949
Display P3color(display-p3 0.039 0.710 0.992)

Copy-ready code

/* CSS */
color: #0ab5fd;
background-color: #0ab5fd;
/* Tailwind (arbitrary) */
class="text-[#0ab5fd] bg-[#0ab5fd]"
/* SCSS */
$brand: #0ab5fd;
/* SwiftUI */
Color(red: 0.039, green: 0.710, blue: 0.992)
/* Android */
Color.parseColor("#0ab5fd")
/* Flutter */
Color(0xFF0AB5FD)
/* Python / OpenCV (BGR) */
(253, 181, 10)

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

Accessibility — WCAG contrast

Aa
#0ab5fd on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#0ab5fd on black: 9.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92B5FF
deuteranopia · #74A1FC
tritanopia · #00C8CE

Color scale — 50 to 950

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

#F1FAFE
#E3F5FC
#C1EAFB
#90DDFE
#58CDFE
#20BCFD
#0ab5fd
#028FCA
#0172A2
#065475
#043449
Base = 600Lightest = 50 · #F1FAFEDarkest = 950 · #043449
:root {
  --brand-50: #F1FAFE;
  --brand-100: #E3F5FC;
  --brand-200: #C1EAFB;
  --brand-300: #90DDFE;
  --brand-400: #58CDFE;
  --brand-500: #20BCFD;
  --brand-600: #0ab5fd;
  --brand-700: #028FCA;
  --brand-800: #0172A2;
  --brand-900: #065475;
  --brand-950: #043449;
  --brand: #0ab5fd;
  --brand-ink: #000000;
}

Colors that work with #0ab5fd

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#F4F9FA
Tinted page background
Border#C0DFED
Hairlines and dividers
Muted text#4B839B
Captions on the surface
Accent#FF1408
Second voice, not a rival
Dark variant#01597E
Hover, pressed, headers
Light variant#E6F7FF
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 #0ab5fd

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#FD520A
Analogous left#0AFDCC
Analogous right#0A3CFD
Split-complement 1#FD0A3C
Split-complement 2#FDCC0A
Triadic 1#FD0AB5
Triadic 2#B5FD0A
Tetradic#CC0AFD

RGB percentages

Red3.9%
Green71.0%
Blue99.2%

CMYK percentages

Cyan96.0%
Magenta28.5%
Yellow0.0%
Key (black)0.8%

Color previews

#0ab5fd text on a black background

contrast 9.04:1

Card sample

#0ab5fd text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ab5fd

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.

#0ab5fd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0ab5fd, answered

What color is #0ab5fd?

#0ab5fd is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 3.6). It sits at 198° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0ab5fd?

rgb(10, 181, 253) — 10 red, 181 green and 253 blue out of 255, or 3.9% / 71% / 99.2% by channel.

Is #0ab5fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4020 and perceived brightness is 64%, so black text on it reaches 9.04:1.

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

Black. It scores 9.04:1 against #0ab5fd, versus 2.32:1 for white — AAA at any size.

What is the complementary color of #0ab5fd?

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

What colors go well with #0ab5fd?

For interface work: #F4F9FA as the surface, #C0DFED for borders, #4B839B for secondary text, #FF1408 as an accent and #01597E for hover and pressed states. For a palette, the analogous pair #0AFDCC and #0A3CFD stays calm, while #FD520A is the loudest partner.

What is #0ab5fd in CMYK for printing?

cmyk(96%, 29%, 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 #0ab5fd warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0AFDEC; nudged cooler, #089DFF.

Work with #0ab5fd in the Color Lab