Skip to content

#42f2eb

a balanced, electric cyan · cool · closest name: Cyan

RGB
66, 242, 235
HSL
178°, 87%, 60%
CMYK
73, 0, 3, 5
Luminance
0.7066

At a glance

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

Hex
#42f2eb
Hue
178°
cyan
Saturation
87%
electric
Lightness
60%
balanced
Brightness
95%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7066
WCAG relative
Temperature
Cool
87/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.13:1
Closest name
Cyan
ΔE2000 3.6
Where it sits
Hue178° of 360°
Saturation87%
Lightness60%
Temperature
Warm ← → Cool87% 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#42f2eb
RGBrgb(66, 242, 235)
HSLhsl(178, 87%, 60%)
CMYKcmyk(73%, 0%, 3%, 5%)
LABlab(87.3 -44.5 -9.3)
LCHlch(87.3 45.4 191.8)
OKLCHoklch(0.874 0.138 190.9)
Decimal4387563
Display P3color(display-p3 0.259 0.949 0.922)

Copy-ready code

/* CSS */
color: #42f2eb;
background-color: #42f2eb;
/* Tailwind (arbitrary) */
class="text-[#42f2eb] bg-[#42f2eb]"
/* SCSS */
$brand: #42f2eb;
/* SwiftUI */
Color(red: 0.259, green: 0.949, blue: 0.922)
/* Android */
Color.parseColor("#42f2eb")
/* Flutter */
Color(0xFF42F2EB)
/* Python / OpenCV (BGR) */
(235, 242, 66)

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

Accessibility — WCAG contrast

Aa
#42f2eb on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#42f2eb on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4E5EB
deuteranopia · #CBD3EC
tritanopia · #00F9EF

Color scale — 50 to 950

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

#F2FDFC
#E5FAF9
#C4F7F5
#96F8F4
#62F4EE
#42f2eb
#10E5DC
#0DBFB8
#0B9993
#0C6E6A
#084542
Base = 500Lightest = 50 · #F2FDFCDarkest = 950 · #084542
:root {
  --brand-50: #F2FDFC;
  --brand-100: #E5FAF9;
  --brand-200: #C4F7F5;
  --brand-300: #96F8F4;
  --brand-400: #62F4EE;
  --brand-500: #42f2eb;
  --brand-600: #10E5DC;
  --brand-700: #0DBFB8;
  --brand-800: #0B9993;
  --brand-900: #0C6E6A;
  --brand-950: #084542;
  --brand: #42f2eb;
  --brand-ink: #000000;
}

Colors that work with #42f2eb

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#C0EDEB
Hairlines and dividers
Muted text#4B9B98
Captions on the surface
Accent#F63E73
Second voice, not a rival
Dark variant#087773
Hover, pressed, headers
Light variant#E7FDFC
Selected rows, tints
Dark surface#142424
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 #42f2eb

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#F24249
Analogous left#42F293
Analogous right#42A1F2
Split-complement 1#F242A1
Split-complement 2#F29342
Triadic 1#EB42F2
Triadic 2#F2EB42
Tetradic#9342F2

RGB percentages

Red25.9%
Green94.9%
Blue92.2%

CMYK percentages

Cyan72.7%
Magenta0.0%
Yellow2.9%
Key (black)5.1%

Color previews

#42f2eb text on a black background

contrast 15.13:1

Card sample

#42f2eb text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #42f2eb;
Background color
Panel with #42f2eb background
background-color: #42f2eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #42f2eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(66, 242, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 242, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42f2eb;
background: linear-gradient(135deg, #42f2eb, #4284F2);

Monochromatic scale

Palettes built from #42f2eb

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.

#42f2eb 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.

#42f2eb, answered

What color is #42f2eb?

#42f2eb is a balanced electric cyan, closest to Cyan (ΔE2000 3.6). It sits at 178° on the hue wheel with 87% saturation and 60% lightness, which reads as cool.

What is the RGB value of #42f2eb?

rgb(66, 242, 235) — 66 red, 242 green and 235 blue out of 255, or 25.9% / 94.9% / 92.2% by channel.

Is #42f2eb a light or a dark color?

It is a light color. Relative luminance is 0.7066 and perceived brightness is 80%, so black text on it reaches 15.13:1.

Should I use black or white text on #42f2eb?

Black. It scores 15.13:1 against #42f2eb, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #42f2eb?

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

What colors go well with #42f2eb?

For interface work: #F4FAFA as the surface, #C0EDEB for borders, #4B9B98 for secondary text, #F63E73 as an accent and #087773 for hover and pressed states. For a palette, the analogous pair #42F293 and #42A1F2 stays calm, while #F24249 is the loudest partner.

What is #42f2eb in CMYK for printing?

cmyk(73%, 0%, 3%, 5%). 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 #42f2eb warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #42F2AA; nudged cooler, #40C5F4.

Work with #42f2eb in the Color Lab