#42A6CC#42A6CC

#42A6CC is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.2% C 0.107 H 226.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#42A6CC
RGBrgb(66, 166, 204)
HSLhsl(197, 58%, 53%)
HSVhsv(197, 68%, 80%)
CMYKcmyk(67.6%, 18.6%, 0%, 20%)
CIE-LABlab(63.99, -17.00, -27.89)
CIE-LCHlch(63.99, 32.66, 238.64°)
OKLaboklab(68.25% -0.0732 -0.078)
OKLCHoklch(68.25% 0.107 226.8)
XYZxyz(26.7777, 32.7874, 62.0324)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6CC #CC6842
analogous
#42CCAD #42A6CC #4261CC
triadic
#42A6CC #CC42A6 #A6CC42
tetradic
#42A6CC #AD42CC #CC6842 #61CC42
square
#42A6CC #AD42CC #CC6842 #61CC42
split-complementary
#42A6CC #CC4261 #CCAD42
monochromatic
#1F5D74 #2C83A4 #42A6CC #72BDD9 #A2D3E6

Accessibility & contrast

On white

2.78
#42A6CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#42A6CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6CC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6CC#FFFFFF#000000##000000
##42A6CC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CE
Deuteranopia (green-blind)
#7F95CC
Tritanopia (blue-blind)
#00B1B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a6cc;
/* rgb */ color: rgb(66, 166, 204);
/* oklch */ color: oklch(68.2% 0.107 226.8);
Tailwind
colors: {
  custom: {
    50: '#86c0db',
    500: '#42a6cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a6cc;
$custom-light: #86c0db;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6cc",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 204
  },
  "hsl": {
    "h": 196.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.68247,
    "c": 0.10696,
    "h": 226.8
  },
  "luminance": 0.3279
}

Semantic roles & 50–950 ramp

primary
#42A6CC
secondary
#D3A797
accent
#7147E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A6CC

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

Preview Lab → · Contrast checker → · Palette generator →

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