#42ACC7#42ACC7

#42ACC7 is a light, moderate cyan. Relative luminance 0.348; OKLCH L 69.5% C 0.103 H 217.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#42ACC7
RGBrgb(66, 172, 199)
HSLhsl(192, 54%, 52%)
HSVhsv(192, 67%, 78%)
CMYKcmyk(66.8%, 13.6%, 0%, 22%)
CIE-LABlab(65.58, -21.73, -22.67)
CIE-LCHlch(65.58, 31.40, 226.22°)
OKLaboklab(69.46% -0.0812 -0.0631)
OKLCHoklch(69.46% 0.103 217.9)
XYZxyz(27.3038, 34.7838, 59.2967)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42ACC7 #C75D42
analogous
#42C79F #42ACC7 #426AC7
triadic
#42ACC7 #C742AC #ACC742
tetradic
#42ACC7 #9F42C7 #C75D42 #6AC742
square
#42ACC7 #9F42C7 #C75D42 #6AC742
split-complementary
#42ACC7 #C7426A #C79F42
monochromatic
#215E6E #2F879D #42ACC7 #71C1D5 #A0D5E3

Accessibility & contrast

On white

2.64
#42ACC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#42ACC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42ACC7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42ACC7#FFFFFF#000000##000000
##42ACC71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA7C8
Deuteranopia (green-blind)
#8899C7
Tritanopia (blue-blind)
#00B5B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42acc7;
/* rgb */ color: rgb(66, 172, 199);
/* oklch */ color: oklch(69.5% 0.103 217.9);
Tailwind
colors: {
  custom: {
    50: '#86c5d8',
    500: '#42acc7',
    950: '#000000',
  },
}
SCSS
$custom: #42acc7;
$custom-light: #86c5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#42acc7",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 199
  },
  "hsl": {
    "h": 192.18,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6946,
    "c": 0.10286,
    "h": 217.9
  },
  "luminance": 0.34787
}

Semantic roles & 50–950 ramp

primary
#42ACC7
secondary
#D0A195
accent
#684ADE
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42ACC7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#42ACC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva