Skip to content

#08afec

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

RGB
8, 175, 236
HSL
196°, 93%, 48%
CMYK
97, 26, 0, 8
Luminance
0.3677

At a glance

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

Hex
#08afec
Hue
196°
cyan
Saturation
93%
electric
Lightness
48%
balanced
Brightness
93%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3677
WCAG relative
Temperature
Cool
94/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
8.35:1
Closest name
Deep Sky Blue
ΔE2000 4.4
Where it sits
Hue196° of 360°
Saturation93%
Lightness48%
Temperature
Warm ← → Cool94% 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#08afec
RGBrgb(8, 175, 236)
HSLhsl(196, 93%, 48%)
CMYKcmyk(97%, 26%, 0%, 8%)
LABlab(67.1 -15.6 -40.8)
LCHlch(67.1 43.6 249.0)
OKLCHoklch(0.709 0.145 232.7)
Decimal569324
Display P3color(display-p3 0.031 0.686 0.925)

Copy-ready code

/* CSS */
color: #08afec;
background-color: #08afec;
/* Tailwind (arbitrary) */
class="text-[#08afec] bg-[#08afec]"
/* SCSS */
$brand: #08afec;
/* SwiftUI */
Color(red: 0.031, green: 0.686, blue: 0.925)
/* Android */
Color.parseColor("#08afec")
/* Flutter */
Color(0xFF08AFEC)
/* Python / OpenCV (BGR) */
(236, 175, 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 #08afec · 8.35:1
Use #000000AAA at every size.
Aa
White text · 2.51:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.35:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #08afec as text scores 2.51:1 on white and 8.35:1 on black.

Accessibility — WCAG contrast

Aa
#08afec on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#08afec on black: 8.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #90AEEF
deuteranopia · #759BEB
tritanopia · #00BFC4

Color scale — 50 to 950

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

#F2FAFD
#E4F5FB
#C2EBF9
#93DFFB
#5CCFF9
#26BFF8
#08afec
#0792C5
#05759E
#095672
#053547
Base = 600Lightest = 50 · #F2FAFDDarkest = 950 · #053547
:root {
  --brand-50: #F2FAFD;
  --brand-100: #E4F5FB;
  --brand-200: #C2EBF9;
  --brand-300: #93DFFB;
  --brand-400: #5CCFF9;
  --brand-500: #26BFF8;
  --brand-600: #08afec;
  --brand-700: #0792C5;
  --brand-800: #05759E;
  --brand-900: #095672;
  --brand-950: #053547;
  --brand: #08afec;
  --brand-ink: #000000;
}

Colors that work with #08afec

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#C0E1ED
Hairlines and dividers
Muted text#4B859B
Captions on the surface
Accent#F10803
Second voice, not a rival
Dark variant#045B7B
Hover, pressed, headers
Light variant#E6F8FE
Selected rows, tints
Dark surface#142024
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 #08afec

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#EC4508
Analogous left#08ECB7
Analogous right#083DEC
Split-complement 1#EC083D
Split-complement 2#ECB708
Triadic 1#EC08AF
Triadic 2#AFEC08
Tetradic#B708EC

RGB percentages

Red3.1%
Green68.6%
Blue92.5%

CMYK percentages

Cyan96.6%
Magenta25.8%
Yellow0.0%
Key (black)7.5%

Color previews

#08afec text on a black background

contrast 8.35:1

Card sample

#08afec text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 175, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 175, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08afec;
background: linear-gradient(135deg, #08afec, #0817EC);

Monochromatic scale

Palettes built from #08afec

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.

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

#08afec, answered

What color is #08afec?

#08afec is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 4.4). It sits at 196° on the hue wheel with 93% saturation and 48% lightness, which reads as cool.

What is the RGB value of #08afec?

rgb(8, 175, 236) — 8 red, 175 green and 236 blue out of 255, or 3.1% / 68.6% / 92.5% by channel.

Is #08afec a light or a dark color?

It is a mid-tone. Relative luminance is 0.3677 and perceived brightness is 61%, so black text on it reaches 8.35:1.

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

Black. It scores 8.35:1 against #08afec, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #08afec?

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

What colors go well with #08afec?

For interface work: #F4F9FA as the surface, #C0E1ED for borders, #4B859B for secondary text, #F10803 as an accent and #045B7B for hover and pressed states. For a palette, the analogous pair #08ECB7 and #083DEC stays calm, while #EC4508 is the loudest partner.

What is #08afec in CMYK for printing?

cmyk(97%, 26%, 0%, 8%). 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 #08afec warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #08ECD5; nudged cooler, #0694EE.

Work with #08afec in the Color Lab