#42AFCC#42AFCC

#42AFCC is a light, moderate cyan. Relative luminance 0.362; OKLCH L 70.4% C 0.106 H 218.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#42AFCC
RGBrgb(66, 175, 204)
HSLhsl(193, 58%, 53%)
HSVhsv(193, 68%, 80%)
CMYKcmyk(67.6%, 14.2%, 0%, 20%)
CIE-LABlab(66.65, -21.71, -23.80)
CIE-LCHlch(66.65, 32.21, 227.62°)
OKLaboklab(70.38% -0.0823 -0.0663)
OKLCHoklch(70.38% 0.106 218.9)
XYZxyz(28.4713, 36.1747, 62.5969)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AFCC #CC5F42
analogous
#42CCA4 #42AFCC #426ACC
triadic
#42AFCC #CC42AF #AFCC42
tetradic
#42AFCC #A442CC #CC5F42 #6ACC42
square
#42AFCC #A442CC #CC5F42 #6ACC42
split-complementary
#42AFCC #CC426A #CCA442
monochromatic
#1F6274 #2C8BA4 #42AFCC #72C3D9 #A2D8E6

Accessibility & contrast

On white

2.55
#42AFCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#42AFCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AFCC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AFCC#FFFFFF#000000##000000
##42AFCC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACE
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#00B9B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #42afcc;
/* rgb */ color: rgb(66, 175, 204);
/* oklch */ color: oklch(70.4% 0.106 218.9);
Tailwind
colors: {
  custom: {
    50: '#87c7db',
    500: '#42afcc',
    950: '#000000',
  },
}
SCSS
$custom: #42afcc;
$custom-light: #87c7db;
$custom-dark: #000000;
JSON
{
  "hex": "#42afcc",
  "rgb": {
    "r": 66,
    "g": 175,
    "b": 204
  },
  "hsl": {
    "h": 192.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.70382,
    "c": 0.1057,
    "h": 218.9
  },
  "luminance": 0.36178
}

Semantic roles & 50–950 ramp

primary
#42AFCC
secondary
#D3A497
accent
#6747E1
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0D1315
muted
#7D8283

Preview Lab

Preview with #42AFCC

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

Preview Lab → · Contrast checker → · Palette generator →

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