#42ABD4#42ABD4

#42ABD4 is a light, moderate cyan. Relative luminance 0.350; OKLCH L 69.8% C 0.112 H 227.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#42ABD4
RGBrgb(66, 171, 212)
HSLhsl(197, 63%, 55%)
HSVhsv(197, 69%, 83%)
CMYKcmyk(68.9%, 19.3%, 0%, 16.9%)
CIE-LABlab(65.78, -17.08, -29.56)
CIE-LCHlch(65.78, 34.14, 239.98°)
OKLaboklab(69.78% -0.0753 -0.0828)
OKLCHoklch(69.78% 0.112 227.7)
XYZxyz(28.6886, 35.0343, 67.5249)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42ABD4 #D46B42
analogous
#42D4B4 #42ABD4 #4262D4
triadic
#42ABD4 #D442AB #ABD442
tetradic
#42ABD4 #B442D4 #D46B42 #62D442
square
#42ABD4 #B442D4 #D46B42 #62D442
split-complementary
#42ABD4 #D44262 #D4B442
monochromatic
#1D637F #288AB1 #42ABD4 #74C1DF #A6D7EB

Accessibility & contrast

On white

2.62
#42ABD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#42ABD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42ABD4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42ABD4#FFFFFF#000000##000000
##42ABD41.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A8D6
Deuteranopia (green-blind)
#8199D3
Tritanopia (blue-blind)
#00B7B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #42abd4;
/* rgb */ color: rgb(66, 171, 212);
/* oklch */ color: oklch(69.8% 0.112 227.7);
Tailwind
colors: {
  custom: {
    50: '#87c4e1',
    500: '#42abd4',
    950: '#000000',
  },
}
SCSS
$custom: #42abd4;
$custom-light: #87c4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#42abd4",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 212
  },
  "hsl": {
    "h": 196.849,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.69779,
    "c": 0.11188,
    "h": 227.7
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

primary
#42ABD4
secondary
#D8AB9A
accent
#7042E6
background
#F9FCFD
surface
#F1F8FB
border
#CBD1D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #42ABD4

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

Preview Lab → · Contrast checker → · Palette generator →

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