#42A6CF#42A6CF

#42A6CF is a light, moderate cyan. Relative luminance 0.329; OKLCH L 68.4% C 0.109 H 228.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#42A6CF
RGBrgb(66, 166, 207)
HSLhsl(197, 59%, 54%)
HSVhsv(197, 68%, 81%)
CMYKcmyk(68.1%, 19.8%, 0%, 18.8%)
CIE-LABlab(64.11, -16.03, -29.37)
CIE-LCHlch(64.11, 33.46, 241.37°)
OKLaboklab(68.38% -0.0721 -0.0823)
OKLCHoklch(68.38% 0.109 228.8)
XYZxyz(27.1410, 32.9327, 63.9456)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6CF #CF6B42
analogous
#42CFB1 #42A6CF #425FCF
triadic
#42A6CF #CF42A6 #A6CF42
tetradic
#42A6CF #B142CF #CF6B42 #5FCF42
square
#42A6CF #B142CF #CF6B42 #5FCF42
split-complementary
#42A6CF #CF425F #CFB142
monochromatic
#1F5E78 #2B84A9 #42A6CF #73BDDB #A4D4E8

Accessibility & contrast

On white

2.77
#42A6CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#42A6CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6CF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6CF#FFFFFF#000000##000000
##42A6CF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3D1
Deuteranopia (green-blind)
#7D95CE
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a6cf;
/* rgb */ color: rgb(66, 166, 207);
/* oklch */ color: oklch(68.4% 0.109 228.8);
Tailwind
colors: {
  custom: {
    50: '#86c0dd',
    500: '#42a6cf',
    950: '#000000',
  },
}
SCSS
$custom: #42a6cf;
$custom-light: #86c0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6cf",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 207
  },
  "hsl": {
    "h": 197.447,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.68381,
    "c": 0.10937,
    "h": 228.8
  },
  "luminance": 0.32936
}

Semantic roles & 50–950 ramp

primary
#42A6CF
secondary
#D5AA98
accent
#7345E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A6CF

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

Preview Lab → · Contrast checker → · Palette generator →

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