#42AFDB#42AFDB

#42AFDB is a light, moderate cyan. Relative luminance 0.369; OKLCH L 71.0% C 0.116 H 228.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#42AFDB
RGBrgb(66, 175, 219)
HSLhsl(197, 68%, 56%)
HSVhsv(197, 70%, 86%)
CMYKcmyk(69.9%, 20.1%, 0%, 14.1%)
CIE-LABlab(67.22, -16.94, -31.18)
CIE-LCHlch(67.22, 35.49, 241.48°)
OKLaboklab(71.03% -0.0767 -0.0874)
OKLCHoklch(71.03% 0.116 228.7)
XYZxyz(30.3578, 36.9292, 72.5322)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AFDB #DB6E42
analogous
#42DBBA #42AFDB #4262DB
triadic
#42AFDB #DB42AF #AFDB42
tetradic
#42AFDB #BA42DB #DB6E42 #62DB42
square
#42AFDB #BA42DB #DB6E42 #62DB42
split-complementary
#42AFDB #DB4262 #DBBA42
monochromatic
#1A6989 #2490BC #42AFDB #75C5E5 #A9DBEF

Accessibility & contrast

On white

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

On black

8.39
#42AFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AFDB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AFDB#FFFFFF#000000##000000
##42AFDB1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDD
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#00BBBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42afdb;
/* rgb */ color: rgb(66, 175, 219);
/* oklch */ color: oklch(71.0% 0.116 228.7);
Tailwind
colors: {
  custom: {
    50: '#89c7e6',
    500: '#42afdb',
    950: '#000000',
  },
}
SCSS
$custom: #42afdb;
$custom-light: #89c7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#42afdb",
  "rgb": {
    "r": 66,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 197.255,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.71028,
    "c": 0.11629,
    "h": 228.7
  },
  "luminance": 0.36933
}

Semantic roles & 50–950 ramp

primary
#42AFDB
secondary
#DCAF9D
accent
#6F3DEB
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #42AFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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