#42AFDC#42AFDC

#42AFDC is a light, moderate cyan. Relative luminance 0.370; OKLCH L 71.1% C 0.117 H 229.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#42AFDC
RGBrgb(66, 175, 220)
HSLhsl(198, 69%, 56%)
HSVhsv(198, 70%, 86%)
CMYKcmyk(70%, 20.5%, 0%, 13.7%)
CIE-LABlab(67.26, -16.62, -31.67)
CIE-LCHlch(67.26, 35.77, 242.31°)
OKLaboklab(71.07% -0.0763 -0.0888)
OKLCHoklch(71.07% 0.117 229.3)
XYZxyz(30.4898, 36.9821, 73.2276)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AFDC #DC6F42
analogous
#42DCBC #42AFDC #4262DC
triadic
#42AFDC #DC42AF #AFDC42
tetradic
#42AFDC #BC42DC #DC6F42 #62DC42
square
#42AFDC #BC42DC #DC6F42 #62DC42
split-complementary
#42AFDC #DC4262 #DCBC42
monochromatic
#1A698A #2391BE #42AFDC #76C5E6 #A9DBEF

Accessibility & contrast

On white

2.50
#42AFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#42AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AFDC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AFDC#FFFFFF#000000##000000
##42AFDC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDE
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#00BCBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42afdc;
/* rgb */ color: rgb(66, 175, 220);
/* oklch */ color: oklch(71.1% 0.117 229.3);
Tailwind
colors: {
  custom: {
    50: '#89c7e7',
    500: '#42afdc',
    950: '#000000',
  },
}
SCSS
$custom: #42afdc;
$custom-light: #89c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#42afdc",
  "rgb": {
    "r": 66,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 197.532,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.11711,
    "h": 229.3
  },
  "luminance": 0.36986
}

Semantic roles & 50–950 ramp

primary
#42AFDC
secondary
#DDB09D
accent
#6F3CEC
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #42AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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