#42A8CD#42A8CD

#42A8CD is a light, moderate cyan. Relative luminance 0.336; OKLCH L 68.8% C 0.107 H 225.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#42A8CD
RGBrgb(66, 168, 205)
HSLhsl(196, 58%, 53%)
HSVhsv(196, 68%, 80%)
CMYKcmyk(67.8%, 18%, 0%, 19.6%)
CIE-LABlab(64.62, -17.74, -27.47)
CIE-LCHlch(64.62, 32.70, 237.15°)
OKLaboklab(68.76% -0.0748 -0.0768)
OKLCHoklch(68.76% 0.107 225.8)
XYZxyz(27.2644, 33.5683, 62.7882)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8CD #CD6742
analogous
#42CDAC #42A8CD #4262CD
triadic
#42A8CD #CD42A8 #A8CD42
tetradic
#42A8CD #AC42CD #CD6742 #62CD42
square
#42A8CD #AC42CD #CD6742 #62CD42
split-complementary
#42A8CD #CD4262 #CDAC42
monochromatic
#1F5F76 #2C85A6 #42A8CD #72BEDA #A3D5E7

Accessibility & contrast

On white

2.72
#42A8CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#42A8CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8CD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8CD#FFFFFF#000000##000000
##42A8CD1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#8197CD
Tritanopia (blue-blind)
#00B3B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a8cd;
/* rgb */ color: rgb(66, 168, 205);
/* oklch */ color: oklch(68.8% 0.107 225.8);
Tailwind
colors: {
  custom: {
    50: '#86c2dc',
    500: '#42a8cd',
    950: '#000000',
  },
}
SCSS
$custom: #42a8cd;
$custom-light: #86c2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8cd",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 205
  },
  "hsl": {
    "h": 195.971,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68764,
    "c": 0.10724,
    "h": 225.8
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#42A8CD
secondary
#D3A797
accent
#7046E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A8CD

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

Preview Lab → · Contrast checker → · Palette generator →

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