#42A2C8#42A2C8

#42A2C8 is a light, moderate cyan. Relative luminance 0.312; OKLCH L 67.1% C 0.105 H 227.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#42A2C8
RGBrgb(66, 162, 200)
HSLhsl(197, 55%, 52%)
HSVhsv(197, 67%, 78%)
CMYKcmyk(67%, 19%, 0%, 21.6%)
CIE-LABlab(62.65, -16.15, -27.73)
CIE-LCHlch(62.65, 32.09, 239.79°)
OKLaboklab(67.12% -0.0705 -0.0776)
OKLCHoklch(67.12% 0.105 227.7)
XYZxyz(25.5883, 31.1663, 59.2995)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A2C8 #C86842
analogous
#42C8AB #42A2C8 #425FC8
triadic
#42A2C8 #C842A2 #A2C842
tetradic
#42A2C8 #AB42C8 #C86842 #5FC842
square
#42A2C8 #AB42C8 #C86842 #5FC842
split-complementary
#42A2C8 #C8425F #C8AB42
monochromatic
#20596F #2E7F9F #42A2C8 #71B9D6 #A1D1E4

Accessibility & contrast

On white

2.90
#42A2C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#42A2C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A2C8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A2C8#FFFFFF#000000##000000
##42A2C81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a2c8;
/* rgb */ color: rgb(66, 162, 200);
/* oklch */ color: oklch(67.1% 0.105 227.7);
Tailwind
colors: {
  custom: {
    50: '#85bdd8',
    500: '#42a2c8',
    950: '#000000',
  },
}
SCSS
$custom: #42a2c8;
$custom-light: #85bdd8;
$custom-dark: #000000;
JSON
{
  "hex": "#42a2c8",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 200
  },
  "hsl": {
    "h": 197.015,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.10486,
    "h": 227.7
  },
  "luminance": 0.31169
}

Semantic roles & 50–950 ramp

primary
#42A2C8
secondary
#D0A696
accent
#744ADE
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42A2C8

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

Preview Lab → · Contrast checker → · Palette generator →

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