Skip to content

#40dffc

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

RGB
64, 223, 252
HSL
189°, 97%, 62%
CMYK
75, 12, 0, 1
Luminance
0.6089

At a glance

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

Hex
#40dffc
Hue
189°
cyan
Saturation
97%
electric
Lightness
62%
balanced
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6089
WCAG relative
Temperature
Cool
91/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
13.18:1
Closest name
Sky Blue
ΔE2000 8.1
Where it sits
Hue189° of 360°
Saturation97%
Lightness62%
Temperature
Warm ← → Cool91% 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#40dffc
RGBrgb(64, 223, 252)
HSLhsl(189, 97%, 62%)
CMYKcmyk(75%, 12%, 0%, 1%)
LABlab(82.3 -31.0 -25.8)
LCHlch(82.3 40.4 219.7)
OKLCHoklch(0.835 0.132 212.9)
Decimal4251644
Display P3color(display-p3 0.251 0.875 0.988)

Copy-ready code

/* CSS */
color: #40dffc;
background-color: #40dffc;
/* Tailwind (arbitrary) */
class="text-[#40dffc] bg-[#40dffc]"
/* SCSS */
$brand: #40dffc;
/* SwiftUI */
Color(red: 0.251, green: 0.875, blue: 0.988)
/* Android */
Color.parseColor("#40dffc")
/* Flutter */
Color(0xFF40DFFC)
/* Python / OpenCV (BGR) */
(252, 223, 64)

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

Accessibility — WCAG contrast

Aa
#40dffc on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#40dffc on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C9D7FE
deuteranopia · #B0C5FC
tritanopia · #00EAE8

Color scale — 50 to 950

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

#F1FCFD
#E4F8FC
#C1F2FB
#91ECFD
#40dffc
#22DAFC
#04CCF1
#03AAC9
#0388A1
#076374
#043E48
Base = 400Lightest = 50 · #F1FCFDDarkest = 950 · #043E48
:root {
  --brand-50: #F1FCFD;
  --brand-100: #E4F8FC;
  --brand-200: #C1F2FB;
  --brand-300: #91ECFD;
  --brand-400: #40dffc;
  --brand-500: #22DAFC;
  --brand-600: #04CCF1;
  --brand-700: #03AAC9;
  --brand-800: #0388A1;
  --brand-900: #076374;
  --brand-950: #043E48;
  --brand: #40dffc;
  --brand-ink: #000000;
}

Colors that work with #40dffc

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#C0E6ED
Hairlines and dividers
Muted text#4B8E9B
Captions on the surface
Accent#FF3D50
Second voice, not a rival
Dark variant#026A7E
Hover, pressed, headers
Light variant#E6FBFF
Selected rows, tints
Dark surface#142224
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 #40dffc

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#FC5D40
Analogous left#40FCBB
Analogous right#4081FC
Split-complement 1#FC4081
Split-complement 2#FCBB40
Triadic 1#FC40DF
Triadic 2#DFFC40
Tetradic#BB40FC

RGB percentages

Red25.1%
Green87.5%
Blue98.8%

CMYK percentages

Cyan74.6%
Magenta11.5%
Yellow0.0%
Key (black)1.2%

Color previews

#40dffc text on a black background

contrast 13.18:1

Card sample

#40dffc text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40dffc;
Background color
Panel with #40dffc background
background-color: #40dffc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #40dffc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 223, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 223, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40dffc;
background: linear-gradient(135deg, #40dffc, #4062FC);

Monochromatic scale

Palettes built from #40dffc

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.

#40dffc 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.

#40dffc, answered

What color is #40dffc?

#40dffc is a balanced electric cyan, closest to Sky Blue (ΔE2000 8.1). It sits at 189° on the hue wheel with 97% saturation and 62% lightness, which reads as cool.

What is the RGB value of #40dffc?

rgb(64, 223, 252) — 64 red, 223 green and 252 blue out of 255, or 25.1% / 87.5% / 98.8% by channel.

Is #40dffc a light or a dark color?

It is a light color. Relative luminance is 0.6089 and perceived brightness is 76%, so black text on it reaches 13.18:1.

Should I use black or white text on #40dffc?

Black. It scores 13.18:1 against #40dffc, versus 1.59:1 for white — AAA at any size.

What is the complementary color of #40dffc?

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

What colors go well with #40dffc?

For interface work: #F4F9FA as the surface, #C0E6ED for borders, #4B8E9B for secondary text, #FF3D50 as an accent and #026A7E for hover and pressed states. For a palette, the analogous pair #40FCBB and #4081FC stays calm, while #FC5D40 is the loudest partner.

What is #40dffc in CMYK for printing?

cmyk(75%, 12%, 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 #40dffc warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #40FCD4; nudged cooler, #3EBCFE.

Work with #40dffc in the Color Lab