#42ACC8#42ACC8

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

Color values

HEX#42ACC8
RGBrgb(66, 172, 200)
HSLhsl(193, 55%, 52%)
HSVhsv(193, 67%, 78%)
CMYKcmyk(67%, 14%, 0%, 21.6%)
CIE-LABlab(65.62, -21.41, -23.17)
CIE-LCHlch(65.62, 31.55, 227.25°)
OKLaboklab(69.5% -0.0808 -0.0646)
OKLCHoklch(69.5% 0.103 218.6)
XYZxyz(27.4203, 34.8304, 59.9102)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42ACC8 #C85E42
analogous
#42C8A1 #42ACC8 #4269C8
triadic
#42ACC8 #C842AC #ACC842
tetradic
#42ACC8 #A142C8 #C85E42 #69C842
square
#42ACC8 #A142C8 #C85E42 #69C842
split-complementary
#42ACC8 #C84269 #C8A142
monochromatic
#205F6F #2E879F #42ACC8 #71C1D6 #A1D6E4

Accessibility & contrast

On white

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

On black

7.97
#42ACC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42ACC8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42ACC8#FFFFFF#000000##000000
##42ACC81.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA7CA
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#00B6B5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42acc8;
/* rgb */ color: rgb(66, 172, 200);
/* oklch */ color: oklch(69.5% 0.103 218.6);
Tailwind
colors: {
  custom: {
    50: '#86c5d8',
    500: '#42acc8',
    950: '#000000',
  },
}
SCSS
$custom: #42acc8;
$custom-light: #86c5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#42acc8",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 200
  },
  "hsl": {
    "h": 192.537,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.69501,
    "c": 0.10342,
    "h": 218.6
  },
  "luminance": 0.34833
}

Semantic roles & 50–950 ramp

primary
#42ACC8
secondary
#D0A296
accent
#694ADE
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42ACC8

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

Preview Lab → · Contrast checker → · Palette generator →

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