#42A2CC#42A2CC

#42A2CC is a light, moderate cyan. Relative luminance 0.314; OKLCH L 67.3% C 0.108 H 230.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#42A2CC
RGBrgb(66, 162, 204)
HSLhsl(198, 58%, 53%)
HSVhsv(198, 68%, 80%)
CMYKcmyk(67.6%, 20.6%, 0%, 20%)
CIE-LABlab(62.81, -14.85, -29.71)
CIE-LCHlch(62.81, 33.22, 243.44°)
OKLaboklab(67.3% -0.0691 -0.0833)
OKLCHoklch(67.3% 0.108 230.3)
XYZxyz(26.0619, 31.3557, 61.7938)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A2CC #CC6C42
analogous
#42CCB1 #42A2CC #425DCC
triadic
#42A2CC #CC42A2 #A2CC42
tetradic
#42A2CC #B142CC #CC6C42 #5DCC42
square
#42A2CC #B142CC #CC6C42 #5DCC42
split-complementary
#42A2CC #CC425D #CCB142
monochromatic
#1F5A74 #2C80A4 #42A2CC #72BAD9 #A2D1E6

Accessibility & contrast

On white

2.89
#42A2CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#42A2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A2CC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A2CC#FFFFFF#000000##000000
##42A2CC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#7A92CB
Tritanopia (blue-blind)
#00AEB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42a2cc;
/* rgb */ color: rgb(66, 162, 204);
/* oklch */ color: oklch(67.3% 0.108 230.3);
Tailwind
colors: {
  custom: {
    50: '#86bddb',
    500: '#42a2cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a2cc;
$custom-light: #86bddb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a2cc",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 204
  },
  "hsl": {
    "h": 198.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.67304,
    "c": 0.1082,
    "h": 230.3
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#42A2CC
secondary
#D3A997
accent
#7647E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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