#42A8CF#42A8CF

#42A8CF is a light, moderate cyan. Relative luminance 0.337; OKLCH L 68.9% C 0.109 H 227.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#42A8CF
RGBrgb(66, 168, 207)
HSLhsl(197, 59%, 54%)
HSVhsv(197, 68%, 81%)
CMYKcmyk(68.1%, 18.8%, 0%, 18.8%)
CIE-LABlab(64.70, -17.10, -28.46)
CIE-LCHlch(64.70, 33.20, 239.00°)
OKLaboklab(68.85% -0.0741 -0.0796)
OKLCHoklch(68.85% 0.109 227.1)
XYZxyz(27.5074, 33.6655, 64.0678)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8CF #CF6942
analogous
#42CFB0 #42A8CF #4261CF
triadic
#42A8CF #CF42A8 #A8CF42
tetradic
#42A8CF #B042CF #CF6942 #61CF42
square
#42A8CF #B042CF #CF6942 #61CF42
split-complementary
#42A8CF #CF4261 #CFB042
monochromatic
#1F5F78 #2B86A9 #42A8CF #73BEDB #A4D5E8

Accessibility & contrast

On white

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

On black

7.73
#42A8CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8CF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8CF#FFFFFF#000000##000000
##42A8CF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D1
Deuteranopia (green-blind)
#8097CF
Tritanopia (blue-blind)
#00B3B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a8cf;
/* rgb */ color: rgb(66, 168, 207);
/* oklch */ color: oklch(68.9% 0.109 227.1);
Tailwind
colors: {
  custom: {
    50: '#87c2dd',
    500: '#42a8cf',
    950: '#000000',
  },
}
SCSS
$custom: #42a8cf;
$custom-light: #87c2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8cf",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 207
  },
  "hsl": {
    "h": 196.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.68852,
    "c": 0.10877,
    "h": 227.1
  },
  "luminance": 0.33669
}

Semantic roles & 50–950 ramp

primary
#42A8CF
secondary
#D5A998
accent
#7145E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A8CF

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

Preview Lab → · Contrast checker → · Palette generator →

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