Skip to content

#40c4d2

a balanced, vivid cyan · cool · closest name: Dark Turquoise

RGB
64, 196, 210
HSL
186°, 62%, 54%
CMYK
70, 7, 0, 18
Luminance
0.4522

At a glance

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

Hex
#40c4d2
Hue
186°
cyan
Saturation
62%
vivid
Lightness
54%
balanced
Brightness
82%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4522
WCAG relative
Temperature
Cool
90/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
10.04:1
Closest name
Dark Turquoise
ΔE2000 5.4
Where it sits
Hue186° of 360°
Saturation62%
Lightness54%
Temperature
Warm ← → Cool90% 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#40c4d2
RGBrgb(64, 196, 210)
HSLhsl(186, 62%, 54%)
CMYKcmyk(70%, 7%, 0%, 18%)
LABlab(73.0 -30.6 -17.4)
LCHlch(73.0 35.2 209.6)
OKLCHoklch(0.756 0.113 205.3)
Decimal4244690
Display P3color(display-p3 0.251 0.769 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c4d2 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#40c4d2 on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B4BCD3
deuteranopia · #9FADD2
tritanopia · #00CCC8

Color scale — 50 to 950

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

#F4FAFB
#E8F6F7
#CCECF0
#A4E3EA
#77D5DF
#40c4d2
#2FB8C6
#2799A5
#1F7A84
#1A5960
#10383C
Base = 500Lightest = 50 · #F4FAFBDarkest = 950 · #10383C
:root {
  --brand-50: #F4FAFB;
  --brand-100: #E8F6F7;
  --brand-200: #CCECF0;
  --brand-300: #A4E3EA;
  --brand-400: #77D5DF;
  --brand-500: #40c4d2;
  --brand-600: #2FB8C6;
  --brand-700: #2799A5;
  --brand-800: #1F7A84;
  --brand-900: #1A5960;
  --brand-950: #10383C;
  --brand: #40c4d2;
  --brand-ink: #000000;
}

Colors that work with #40c4d2

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#F4FAFA
Tinted page background
Border#C0E8ED
Hairlines and dividers
Muted text#4B939B
Captions on the surface
Accent#D73B53
Second voice, not a rival
Dark variant#186067
Hover, pressed, headers
Light variant#EAF9FA
Selected rows, tints
Dark surface#142324
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 #40c4d2

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#D24E40
Analogous left#40D297
Analogous right#407BD2
Split-complement 1#D2407B
Split-complement 2#D29740
Triadic 1#D240C4
Triadic 2#C4D240
Tetradic#9740D2

RGB percentages

Red25.1%
Green76.9%
Blue82.4%

CMYK percentages

Cyan69.5%
Magenta6.7%
Yellow0.0%
Key (black)17.6%

Color previews

#40c4d2 text on a black background

contrast 10.04:1

Card sample

#40c4d2 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c4d2

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.

#40c4d2 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

Converts to four-color process without much drama. Proof it anyway.

#40c4d2, answered

What color is #40c4d2?

#40c4d2 is a balanced vivid cyan, closest to Dark Turquoise (ΔE2000 5.4). It sits at 186° on the hue wheel with 62% saturation and 54% lightness, which reads as cool.

What is the RGB value of #40c4d2?

rgb(64, 196, 210) — 64 red, 196 green and 210 blue out of 255, or 25.1% / 76.9% / 82.4% by channel.

Is #40c4d2 a light or a dark color?

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

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

Black. It scores 10.04:1 against #40c4d2, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #40c4d2?

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

What colors go well with #40c4d2?

For interface work: #F4FAFA as the surface, #C0E8ED for borders, #4B939B for secondary text, #D73B53 as an accent and #186067 for hover and pressed states. For a palette, the analogous pair #40D297 and #407BD2 stays calm, while #D24E40 is the loudest partner.

What is #40c4d2 in CMYK for printing?

cmyk(70%, 7%, 0%, 18%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #40c4d2 warm or cool?

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

Work with #40c4d2 in the Color Lab