Skip to content

#40bdf1

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

RGB
64, 189, 241
HSL
198°, 86%, 60%
CMYK
73, 22, 0, 6
Luminance
0.4384

At a glance

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

Hex
#40bdf1
Hue
198°
cyan
Saturation
86%
electric
Lightness
60%
balanced
Brightness
95%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4384
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
9.77:1
Closest name
Deep Sky Blue
ΔE2000 2.3
Where it sits
Hue198° of 360°
Saturation86%
Lightness60%
Temperature
Warm ← → Cool95% 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#40bdf1
RGBrgb(64, 189, 241)
HSLhsl(198, 86%, 60%)
CMYKcmyk(73%, 22%, 0%, 6%)
LABlab(72.1 -17.4 -35.6)
LCHlch(72.1 39.6 243.9)
OKLCHoklch(0.752 0.130 230.2)
Decimal4242929
Display P3color(display-p3 0.251 0.741 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40bdf1 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#40bdf1 on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A2BAF4
deuteranopia · #8BA9F0
tritanopia · #00CBCE

Color scale — 50 to 950

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

#F2FAFD
#E5F4FA
#C5E8F7
#96DBF7
#62C9F3
#40bdf1
#11A6E4
#0E8ABE
#0B6F98
#0D516E
#083345
Base = 500Lightest = 50 · #F2FAFDDarkest = 950 · #083345
:root {
  --brand-50: #F2FAFD;
  --brand-100: #E5F4FA;
  --brand-200: #C5E8F7;
  --brand-300: #96DBF7;
  --brand-400: #62C9F3;
  --brand-500: #40bdf1;
  --brand-600: #11A6E4;
  --brand-700: #0E8ABE;
  --brand-800: #0B6F98;
  --brand-900: #0D516E;
  --brand-950: #083345;
  --brand: #40bdf1;
  --brand-ink: #000000;
}

Colors that work with #40bdf1

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#C0DFED
Hairlines and dividers
Muted text#4B839B
Captions on the surface
Accent#F5443C
Second voice, not a rival
Dark variant#095677
Hover, pressed, headers
Light variant#E7F7FD
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 #40bdf1

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#F17440
Analogous left#40F1CC
Analogous right#4065F1
Split-complement 1#F14065
Split-complement 2#F1CC40
Triadic 1#F140BD
Triadic 2#BDF140
Tetradic#CC40F1

RGB percentages

Red25.1%
Green74.1%
Blue94.5%

CMYK percentages

Cyan73.4%
Magenta21.6%
Yellow0.0%
Key (black)5.5%

Color previews

#40bdf1 text on a black background

contrast 9.77:1

Card sample

#40bdf1 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 189, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 189, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40bdf1;
background: linear-gradient(135deg, #40bdf1, #4047F1);

Monochromatic scale

Palettes built from #40bdf1

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.

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

#40bdf1, answered

What color is #40bdf1?

#40bdf1 is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 2.3). It sits at 198° on the hue wheel with 86% saturation and 60% lightness, which reads as cool.

What is the RGB value of #40bdf1?

rgb(64, 189, 241) — 64 red, 189 green and 241 blue out of 255, or 25.1% / 74.1% / 94.5% by channel.

Is #40bdf1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4384 and perceived brightness is 67%, so black text on it reaches 9.77:1.

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

Black. It scores 9.77:1 against #40bdf1, versus 2.15:1 for white — AAA at any size.

What is the complementary color of #40bdf1?

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

What colors go well with #40bdf1?

For interface work: #F4F9FA as the surface, #C0DFED for borders, #4B839B for secondary text, #F5443C as an accent and #095677 for hover and pressed states. For a palette, the analogous pair #40F1CC and #4065F1 stays calm, while #F17440 is the loudest partner.

What is #40bdf1 in CMYK for printing?

cmyk(73%, 22%, 0%, 6%). 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 #40bdf1 warm or cool?

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

Work with #40bdf1 in the Color Lab