#42A7CF#42A7CF

#42A7CF is a light, moderate cyan. Relative luminance 0.333; OKLCH L 68.6% C 0.109 H 227.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#42A7CF
RGBrgb(66, 167, 207)
HSLhsl(197, 59%, 54%)
HSVhsv(197, 68%, 81%)
CMYKcmyk(68.1%, 19.3%, 0%, 18.8%)
CIE-LABlab(64.40, -16.57, -28.92)
CIE-LCHlch(64.40, 33.33, 240.19°)
OKLaboklab(68.62% -0.0731 -0.081)
OKLCHoklch(68.62% 0.109 227.9)
XYZxyz(27.3235, 33.2977, 64.0065)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7CF #CF6A42
analogous
#42CFB0 #42A7CF #4260CF
triadic
#42A7CF #CF42A7 #A7CF42
tetradic
#42A7CF #B042CF #CF6A42 #60CF42
square
#42A7CF #B042CF #CF6A42 #60CF42
split-complementary
#42A7CF #CF4260 #CFB042
monochromatic
#1F5F78 #2B85A9 #42A7CF #73BEDB #A4D4E8

Accessibility & contrast

On white

2.74
#42A7CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#42A7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7CF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7CF#FFFFFF#000000##000000
##42A7CF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D1
Deuteranopia (green-blind)
#7E96CE
Tritanopia (blue-blind)
#00B2B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a7cf;
/* rgb */ color: rgb(66, 167, 207);
/* oklch */ color: oklch(68.6% 0.109 227.9);
Tailwind
colors: {
  custom: {
    50: '#87c1dd',
    500: '#42a7cf',
    950: '#000000',
  },
}
SCSS
$custom: #42a7cf;
$custom-light: #87c1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7cf",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 207
  },
  "hsl": {
    "h": 197.021,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.68616,
    "c": 0.10906,
    "h": 227.9
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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