#42AFDD#42AFDD

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

Color values

HEX#42AFDD
RGBrgb(66, 175, 221)
HSLhsl(198, 70%, 56%)
HSVhsv(198, 70%, 87%)
CMYKcmyk(70.1%, 20.8%, 0%, 13.3%)
CIE-LABlab(67.30, -16.30, -32.16)
CIE-LCHlch(67.30, 36.05, 243.13°)
OKLaboklab(71.12% -0.076 -0.0902)
OKLCHoklch(71.12% 0.118 229.9)
XYZxyz(30.6226, 37.0352, 73.9272)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AFDD #DD7042
analogous
#42DDBD #42AFDD #4262DD
triadic
#42AFDD #DD42AF #AFDD42
tetradic
#42AFDD #BD42DD #DD7042 #62DD42
square
#42AFDD #BD42DD #DD7042 #62DD42
split-complementary
#42AFDD #DD4262 #DDBD42
monochromatic
#196A8C #2291BF #42AFDD #76C5E6 #AADBF0

Accessibility & contrast

On white

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

On black

8.41
#42AFDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AFDD
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AFDD#FFFFFF#000000##000000
##42AFDD1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#00BCBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42afdd;
/* rgb */ color: rgb(66, 175, 221);
/* oklch */ color: oklch(71.1% 0.118 229.9);
Tailwind
colors: {
  custom: {
    50: '#89c7e7',
    500: '#42afdd',
    950: '#000000',
  },
}
SCSS
$custom: #42afdd;
$custom-light: #89c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#42afdd",
  "rgb": {
    "r": 66,
    "g": 175,
    "b": 221
  },
  "hsl": {
    "h": 197.806,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.11795,
    "h": 229.9
  },
  "luminance": 0.37039
}

Semantic roles & 50–950 ramp

primary
#42AFDD
secondary
#DDB09D
accent
#703BEC
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #42AFDD

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

Preview Lab → · Contrast checker → · Palette generator →

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