#42C6EC#42C6EC

#42C6EC is a light, vivid cyan. Relative luminance 0.476; OKLCH L 77.1% C 0.123 H 221.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#42C6EC
RGBrgb(66, 198, 236)
HSLhsl(193, 82%, 59%)
HSVhsv(193, 72%, 93%)
CMYKcmyk(72%, 16.1%, 0%, 7.5%)
CIE-LABlab(74.57, -23.43, -29.11)
CIE-LCHlch(74.57, 37.37, 231.17°)
OKLaboklab(77.13% -0.0928 -0.0814)
OKLCHoklch(77.13% 0.123 221.3)
XYZxyz(37.5749, 47.5981, 86.5477)
Luminance0.4760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C6EC #EC6842
analogous
#42ECBD #42C6EC #4271EC
triadic
#42C6EC #EC42C6 #C6EC42
tetradic
#42C6EC #BD42EC #EC6842 #71EC42
square
#42C6EC #BD42EC #EC6842 #71EC42
split-complementary
#42C6EC #EC4271 #ECBD42
monochromatic
#1082A3 #16AFDB #42C6EC #7AD7F2 #B1E8F7

Accessibility & contrast

On white

2.00
#42C6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#42C6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C6EC
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C6EC#FFFFFF#000000##000000
##42C6EC1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC1EE
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#00D2D2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42c6ec;
/* rgb */ color: rgb(66, 198, 236);
/* oklch */ color: oklch(77.1% 0.123 221.3);
Tailwind
colors: {
  custom: {
    50: '#8cd7f2',
    500: '#42c6ec',
    950: '#000000',
  },
}
SCSS
$custom: #42c6ec;
$custom-light: #8cd7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#42c6ec",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 236
  },
  "hsl": {
    "h": 193.412,
    "s": 81.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77125,
    "c": 0.1234,
    "h": 221.3
  },
  "luminance": 0.47603
}

Semantic roles & 50–950 ramp

primary
#42C6EC
secondary
#E6B3A4
accent
#5C30F8
background
#F9FDFE
surface
#F2FAFD
border
#CCD3D5
text
#0E1417
muted
#7E8385

Preview Lab

Preview with #42C6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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