#42A2C7#42A2C7

#42A2C7 is a light, moderate cyan. Relative luminance 0.311; OKLCH L 67.1% C 0.104 H 227.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#42A2C7
RGBrgb(66, 162, 199)
HSLhsl(197, 54%, 52%)
HSVhsv(197, 67%, 78%)
CMYKcmyk(66.8%, 18.6%, 0%, 22%)
CIE-LABlab(62.61, -16.47, -27.23)
CIE-LCHlch(62.61, 31.82, 238.84°)
OKLaboklab(67.08% -0.0709 -0.0762)
OKLCHoklch(67.08% 0.104 227)
XYZxyz(25.4718, 31.1197, 58.6860)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A2C7 #C76742
analogous
#42C7AA #42A2C7 #425FC7
triadic
#42A2C7 #C742A2 #A2C742
tetradic
#42A2C7 #AA42C7 #C76742 #5FC742
square
#42A2C7 #AA42C7 #C76742 #5FC742
split-complementary
#42A2C7 #C7425F #C7AA42
monochromatic
#21586E #2F7E9D #42A2C7 #71B9D5 #A0D0E3

Accessibility & contrast

On white

2.91
#42A2C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#42A2C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A2C7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A2C7#FFFFFF#000000##000000
##42A2C71.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9FC9
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#00ADAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42a2c7;
/* rgb */ color: rgb(66, 162, 199);
/* oklch */ color: oklch(67.1% 0.104 227.0);
Tailwind
colors: {
  custom: {
    50: '#85bdd8',
    500: '#42a2c7',
    950: '#000000',
  },
}
SCSS
$custom: #42a2c7;
$custom-light: #85bdd8;
$custom-dark: #000000;
JSON
{
  "hex": "#42a2c7",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 199
  },
  "hsl": {
    "h": 196.692,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.10407,
    "h": 227
  },
  "luminance": 0.31122
}

Semantic roles & 50–950 ramp

primary
#42A2C7
secondary
#D0A595
accent
#734ADE
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42A2C7

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

Preview Lab → · Contrast checker → · Palette generator →

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