#42AFC8#42AFC8

#42AFC8 is a light, moderate cyan. Relative luminance 0.360; OKLCH L 70.2% C 0.104 H 215.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#42AFC8
RGBrgb(66, 175, 200)
HSLhsl(191, 55%, 52%)
HSVhsv(191, 67%, 78%)
CMYKcmyk(67%, 12.5%, 0%, 21.6%)
CIE-LABlab(66.51, -22.96, -21.81)
CIE-LCHlch(66.51, 31.66, 223.53°)
OKLaboklab(70.22% -0.0839 -0.0607)
OKLCHoklch(70.22% 0.104 215.9)
XYZxyz(27.9977, 35.9852, 60.1027)
Luminance0.3599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AFC8 #C85B42
analogous
#42C89E #42AFC8 #426CC8
triadic
#42AFC8 #C842AF #AFC842
tetradic
#42AFC8 #9E42C8 #C85B42 #6CC842
square
#42AFC8 #9E42C8 #C85B42 #6CC842
split-complementary
#42AFC8 #C8426C #C89E42
monochromatic
#20616F #2E8A9F #42AFC8 #71C3D6 #A1D7E4

Accessibility & contrast

On white

2.56
#42AFC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#42AFC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AFC8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AFC8#FFFFFF#000000##000000
##42AFC81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EAAC9
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#00B8B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #42afc8;
/* rgb */ color: rgb(66, 175, 200);
/* oklch */ color: oklch(70.2% 0.104 215.9);
Tailwind
colors: {
  custom: {
    50: '#86c7d8',
    500: '#42afc8',
    950: '#000000',
  },
}
SCSS
$custom: #42afc8;
$custom-light: #86c7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#42afc8",
  "rgb": {
    "r": 66,
    "g": 175,
    "b": 200
  },
  "hsl": {
    "h": 191.194,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.10353,
    "h": 215.9
  },
  "luminance": 0.35988
}

Semantic roles & 50–950 ramp

primary
#42AFC8
secondary
#D0A196
accent
#654ADE
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #42AFC8

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

Preview Lab → · Contrast checker → · Palette generator →

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