Skip to content

#40cfea

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

RGB
64, 207, 234
HSL
190°, 80%, 58%
CMYK
73, 12, 0, 8
Luminance
0.5166

At a glance

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

Hex
#40cfea
Hue
190°
cyan
Saturation
80%
electric
Lightness
58%
balanced
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5166
WCAG relative
Temperature
Cool
91/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
11.33:1
Closest name
Sky Blue
ΔE2000 7.1
Where it sits
Hue190° of 360°
Saturation80%
Lightness58%
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#40cfea
RGBrgb(64, 207, 234)
HSLhsl(190, 80%, 58%)
CMYKcmyk(73%, 12%, 0%, 8%)
LABlab(77.1 -28.8 -24.2)
LCHlch(77.1 37.6 220.1)
OKLCHoklch(0.791 0.123 213.2)
Decimal4247530
Display P3color(display-p3 0.251 0.812 0.918)

Copy-ready code

/* CSS */
color: #40cfea;
background-color: #40cfea;
/* Tailwind (arbitrary) */
class="text-[#40cfea] bg-[#40cfea]"
/* SCSS */
$brand: #40cfea;
/* SwiftUI */
Color(red: 0.251, green: 0.812, blue: 0.918)
/* Android */
Color.parseColor("#40cfea")
/* Flutter */
Color(0xFF40CFEA)
/* Python / OpenCV (BGR) */
(234, 207, 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 #40cfea · 11.33:1
Use #000000AAA at every size.
Aa
White text · 1.85:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.33:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #40cfea as text scores 1.85:1 on white and 11.33:1 on black.

Accessibility — WCAG contrast

Aa
#40cfea on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#40cfea on black: 11.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBC8EC
deuteranopia · #A3B7EA
tritanopia · #00DAD7

Color scale — 50 to 950

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

#F3FBFC
#E6F6F9
#C6EEF5
#9AE6F4
#67D9EE
#40cfea
#18BDDD
#149EB8
#107E93
#105C6A
#0A3A42
Base = 500Lightest = 50 · #F3FBFCDarkest = 950 · #0A3A42
:root {
  --brand-50: #F3FBFC;
  --brand-100: #E6F6F9;
  --brand-200: #C6EEF5;
  --brand-300: #9AE6F4;
  --brand-400: #67D9EE;
  --brand-500: #40cfea;
  --brand-600: #18BDDD;
  --brand-700: #149EB8;
  --brand-800: #107E93;
  --brand-900: #105C6A;
  --brand-950: #0A3A42;
  --brand: #40cfea;
  --brand-ink: #000000;
}

Colors that work with #40cfea

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#EE3C4C
Second voice, not a rival
Dark variant#0D6373
Hover, pressed, headers
Light variant#E8F9FC
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 #40cfea

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#EA5B40
Analogous left#40EAB0
Analogous right#407AEA
Split-complement 1#EA407A
Split-complement 2#EAB040
Triadic 1#EA40CF
Triadic 2#CFEA40
Tetradic#B040EA

RGB percentages

Red25.1%
Green81.2%
Blue91.8%

CMYK percentages

Cyan72.6%
Magenta11.5%
Yellow0.0%
Key (black)8.2%

Color previews

#40cfea text on a black background

contrast 11.33:1

Card sample

#40cfea text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 207, 234, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 207, 234, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cfea;
background: linear-gradient(135deg, #40cfea, #405EEA);

Monochromatic scale

Palettes built from #40cfea

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.

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

#40cfea, answered

What color is #40cfea?

#40cfea is a balanced electric cyan, closest to Sky Blue (ΔE2000 7.1). It sits at 190° on the hue wheel with 80% saturation and 58% lightness, which reads as cool.

What is the RGB value of #40cfea?

rgb(64, 207, 234) — 64 red, 207 green and 234 blue out of 255, or 25.1% / 81.2% / 91.8% by channel.

Is #40cfea a light or a dark color?

It is a light color. Relative luminance is 0.5166 and perceived brightness is 71%, so black text on it reaches 11.33:1.

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

Black. It scores 11.33:1 against #40cfea, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #40cfea?

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

What colors go well with #40cfea?

For interface work: #F4F9FA as the surface, #C0E6ED for borders, #4B8E9B for secondary text, #EE3C4C as an accent and #0D6373 for hover and pressed states. For a palette, the analogous pair #40EAB0 and #407AEA stays calm, while #EA5B40 is the loudest partner.

What is #40cfea in CMYK for printing?

cmyk(73%, 12%, 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 #40cfea 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 #40EAC7; nudged cooler, #3EAEEC.

Work with #40cfea in the Color Lab