Skip to content

#0fafd2

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

RGB
15, 175, 210
HSL
191°, 87%, 44%
CMYK
93, 17, 0, 18
Luminance
0.3541

At a glance

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

Hex
#0fafd2
Hue
191°
cyan
Saturation
87%
electric
Lightness
44%
dark
Brightness
82%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3541
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
8.08:1
Closest name
Deep Sky Blue
ΔE2000 8.7
Where it sits
Hue191° of 360°
Saturation87%
Lightness44%
Temperature
Warm ← → Cool92% 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#0fafd2
RGBrgb(15, 175, 210)
HSLhsl(191, 87%, 44%)
CMYKcmyk(93%, 17%, 0%, 18%)
LABlab(66.1 -24.4 -28.1)
LCHlch(66.1 37.2 229.0)
OKLCHoklch(0.698 0.124 219.3)
Decimal1028050
Display P3color(display-p3 0.059 0.686 0.824)

Copy-ready code

/* CSS */
color: #0fafd2;
background-color: #0fafd2;
/* Tailwind (arbitrary) */
class="text-[#0fafd2] bg-[#0fafd2]"
/* SCSS */
$brand: #0fafd2;
/* SwiftUI */
Color(red: 0.059, green: 0.686, blue: 0.824)
/* Android */
Color.parseColor("#0fafd2")
/* Flutter */
Color(0xFF0FAFD2)
/* Python / OpenCV (BGR) */
(210, 175, 15)

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

Accessibility — WCAG contrast

Aa
#0fafd2 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#0fafd2 on black: 8.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #99AAD4
deuteranopia · #8299D2
tritanopia · #00BABA

Color scale — 50 to 950

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

#F2FBFD
#E5F6FA
#C4EEF7
#96E6F8
#62DAF4
#2ECDF0
#0fafd2
#0E9FBE
#0B7F98
#0C5C6E
#083A45
Base = 600Lightest = 50 · #F2FBFDDarkest = 950 · #083A45
:root {
  --brand-50: #F2FBFD;
  --brand-100: #E5F6FA;
  --brand-200: #C4EEF7;
  --brand-300: #96E6F8;
  --brand-400: #62DAF4;
  --brand-500: #2ECDF0;
  --brand-600: #0fafd2;
  --brand-700: #0E9FBE;
  --brand-800: #0B7F98;
  --brand-900: #0C5C6E;
  --brand-950: #083A45;
  --brand: #0fafd2;
  --brand-ink: #000000;
}

Colors that work with #0fafd2

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#C0E5ED
Hairlines and dividers
Muted text#4B8C9B
Captions on the surface
Accent#D60A19
Second voice, not a rival
Dark variant#086377
Hover, pressed, headers
Light variant#E7F9FD
Selected rows, tints
Dark surface#142124
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 #0fafd2

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#D2320F
Analogous left#0FD294
Analogous right#0F4DD2
Split-complement 1#D20F4D
Split-complement 2#D2940F
Triadic 1#D20FAF
Triadic 2#AFD20F
Tetradic#940FD2

RGB percentages

Red5.9%
Green68.6%
Blue82.4%

CMYK percentages

Cyan92.9%
Magenta16.7%
Yellow0.0%
Key (black)17.6%

Color previews

#0fafd2 text on a black background

contrast 8.08:1

Card sample

#0fafd2 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 175, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 175, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0fafd2;
background: linear-gradient(135deg, #0fafd2, #0F2DD2);

Monochromatic scale

Palettes built from #0fafd2

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.

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

#0fafd2, answered

What color is #0fafd2?

#0fafd2 is a dark electric cyan, closest to Deep Sky Blue (ΔE2000 8.7). It sits at 191° on the hue wheel with 87% saturation and 44% lightness, which reads as cool.

What is the RGB value of #0fafd2?

rgb(15, 175, 210) — 15 red, 175 green and 210 blue out of 255, or 5.9% / 68.6% / 82.4% by channel.

Is #0fafd2 a light or a dark color?

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

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

Black. It scores 8.08:1 against #0fafd2, versus 2.60:1 for white — AAA at any size.

What is the complementary color of #0fafd2?

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

What colors go well with #0fafd2?

For interface work: #F4F9FA as the surface, #C0E5ED for borders, #4B8C9B for secondary text, #D60A19 as an accent and #086377 for hover and pressed states. For a palette, the analogous pair #0FD294 and #0F4DD2 stays calm, while #D2320F is the loudest partner.

What is #0fafd2 in CMYK for printing?

cmyk(93%, 17%, 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 #0fafd2 warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0FD2AE; nudged cooler, #0D8ED4.

Work with #0fafd2 in the Color Lab