Skip to content

#0fcafb

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

RGB
15, 202, 251
HSL
193°, 97%, 52%
CMYK
94, 20, 0, 2
Luminance
0.4931

At a glance

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

Hex
#0fcafb
Hue
193°
cyan
Saturation
97%
electric
Lightness
52%
balanced
Brightness
98%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4931
WCAG relative
Temperature
Cool
93/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
10.86:1
Closest name
Deep Sky Blue
ΔE2000 5
Where it sits
Hue193° of 360°
Saturation97%
Lightness52%
Temperature
Warm ← → Cool93% 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#0fcafb
RGBrgb(15, 202, 251)
HSLhsl(193, 97%, 52%)
CMYKcmyk(94%, 20%, 0%, 2%)
LABlab(75.6 -24.3 -35.6)
LCHlch(75.6 43.1 235.6)
OKLCHoklch(0.780 0.145 223.8)
Decimal1035003
Display P3color(display-p3 0.059 0.792 0.984)

Copy-ready code

/* CSS */
color: #0fcafb;
background-color: #0fcafb;
/* Tailwind (arbitrary) */
class="text-[#0fcafb] bg-[#0fcafb]"
/* SCSS */
$brand: #0fcafb;
/* SwiftUI */
Color(red: 0.059, green: 0.792, blue: 0.984)
/* Android */
Color.parseColor("#0fcafb")
/* Flutter */
Color(0xFF0FCAFB)
/* Python / OpenCV (BGR) */
(251, 202, 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 #0fcafb · 10.86:1
Use #000000AAA at every size.
Aa
White text · 1.93:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0fcafb as text scores 1.93:1 on white and 10.86:1 on black.

Accessibility — WCAG contrast

Aa
#0fcafb on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#0fcafb on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEC5FD
deuteranopia · #93B2FA
tritanopia · #00D9DA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0fcafb is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FBFD
#E4F7FC
#C1EFFB
#91E7FD
#59DAFC
#0fcafb
#04BFF1
#03A0C9
#0380A1
#075D74
#043A48
Base = 500Lightest = 50 · #F1FBFDDarkest = 950 · #043A48
:root {
  --brand-50: #F1FBFD;
  --brand-100: #E4F7FC;
  --brand-200: #C1EFFB;
  --brand-300: #91E7FD;
  --brand-400: #59DAFC;
  --brand-500: #0fcafb;
  --brand-600: #04BFF1;
  --brand-700: #03A0C9;
  --brand-800: #0380A1;
  --brand-900: #075D74;
  --brand-950: #043A48;
  --brand: #0fcafb;
  --brand-ink: #000000;
}

Colors that work with #0fcafb

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#C0E3ED
Hairlines and dividers
Muted text#4B8A9B
Captions on the surface
Accent#FF0B15
Second voice, not a rival
Dark variant#02647D
Hover, pressed, headers
Light variant#E6F9FF
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 #0fcafb

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#FB400F
Analogous left#0FFBB6
Analogous right#0F54FB
Split-complement 1#FB0F54
Split-complement 2#FBB60F
Triadic 1#FB0FCA
Triadic 2#CAFB0F
Tetradic#B60FFB

RGB percentages

Red5.9%
Green79.2%
Blue98.4%

CMYK percentages

Cyan94.0%
Magenta19.5%
Yellow0.0%
Key (black)1.6%

Color previews

#0fcafb text on a black background

contrast 10.86:1

Card sample

#0fcafb text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fcafb

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.

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

#0fcafb, answered

What color is #0fcafb?

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

What is the RGB value of #0fcafb?

rgb(15, 202, 251) — 15 red, 202 green and 251 blue out of 255, or 5.9% / 79.2% / 98.4% by channel.

Is #0fcafb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4931 and perceived brightness is 69%, so black text on it reaches 10.86:1.

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

Black. It scores 10.86:1 against #0fcafb, versus 1.93:1 for white — AAA at any size.

What is the complementary color of #0fcafb?

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

What colors go well with #0fcafb?

For interface work: #F4F9FA as the surface, #C0E3ED for borders, #4B8A9B for secondary text, #FF0B15 as an accent and #02647D for hover and pressed states. For a palette, the analogous pair #0FFBB6 and #0F54FB stays calm, while #FB400F is the loudest partner.

What is #0fcafb in CMYK for printing?

cmyk(94%, 20%, 0%, 2%). 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 #0fcafb warm or cool?

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

Work with #0fcafb in the Color Lab