#42BCEC#42BCEC

#42BCEC is a light, vivid cyan. Relative luminance 0.432; OKLCH L 74.8% C 0.126 H 228.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#42BCEC
RGBrgb(66, 188, 236)
HSLhsl(197, 82%, 59%)
HSVhsv(197, 72%, 93%)
CMYKcmyk(72%, 20.3%, 0%, 7.5%)
CIE-LABlab(71.67, -18.29, -33.58)
CIE-LCHlch(71.67, 38.23, 241.42°)
OKLaboklab(74.81% -0.0832 -0.0942)
OKLCHoklch(74.81% 0.126 228.5)
XYZxyz(35.3642, 43.1767, 85.8107)
Luminance0.4318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BCEC #EC7242
analogous
#42ECC7 #42BCEC #4267EC
triadic
#42BCEC #EC42BC #BCEC42
tetradic
#42BCEC #C742EC #EC7242 #67EC42
square
#42BCEC #C742EC #EC7242 #67EC42
split-complementary
#42BCEC #EC4267 #ECC742
monochromatic
#107AA3 #16A3DB #42BCEC #7AD0F2 #B1E3F7

Accessibility & contrast

On white

2.18
#42BCEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#42BCEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BCEC
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BCEC#FFFFFF#000000##000000
##42BCEC1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B9EE
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#00CACC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42bcec;
/* rgb */ color: rgb(66, 188, 236);
/* oklch */ color: oklch(74.8% 0.126 228.5);
Tailwind
colors: {
  custom: {
    50: '#8cd0f2',
    500: '#42bcec',
    950: '#000000',
  },
}
SCSS
$custom: #42bcec;
$custom-light: #8cd0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#42bcec",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 236
  },
  "hsl": {
    "h": 196.941,
    "s": 81.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.1257,
    "h": 228.5
  },
  "luminance": 0.43181
}

Semantic roles & 50–950 ramp

primary
#42BCEC
secondary
#E6B6A4
accent
#6830F8
background
#F9FCFE
surface
#F2F9FD
border
#CCD2D5
text
#0E1417
muted
#7E8285

Preview Lab

Preview with #42BCEC

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

Preview Lab → · Contrast checker → · Palette generator →

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