#42A0CC#42A0CC

#42A0CC is a light, moderate cyan. Relative luminance 0.307; OKLCH L 66.8% C 0.109 H 232.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#42A0CC
RGBrgb(66, 160, 204)
HSLhsl(199, 58%, 53%)
HSVhsv(199, 68%, 80%)
CMYKcmyk(67.6%, 21.6%, 0%, 20%)
CIE-LABlab(62.22, -13.77, -30.63)
CIE-LCHlch(62.22, 33.58, 245.79°)
OKLaboklab(66.83% -0.0671 -0.0859)
OKLCHoklch(66.83% 0.109 232)
XYZxyz(25.7123, 30.6567, 61.6773)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A0CC #CC6E42
analogous
#42CCB3 #42A0CC #425BCC
triadic
#42A0CC #CC42A0 #A0CC42
tetradic
#42A0CC #B342CC #CC6E42 #5BCC42
square
#42A0CC #B342CC #CC6E42 #5BCC42
split-complementary
#42A0CC #CC425B #CCB342
monochromatic
#1F5974 #2C7EA4 #42A0CC #72B8D9 #A2D0E6

Accessibility & contrast

On white

2.94
#42A0CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#42A0CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A0CC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A0CC#FFFFFF#000000##000000
##42A0CC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECE
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#00ACAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42a0cc;
/* rgb */ color: rgb(66, 160, 204);
/* oklch */ color: oklch(66.8% 0.109 232.0);
Tailwind
colors: {
  custom: {
    50: '#86bcdb',
    500: '#42a0cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a0cc;
$custom-light: #86bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a0cc",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 204
  },
  "hsl": {
    "h": 199.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.66834,
    "c": 0.10898,
    "h": 232
  },
  "luminance": 0.30659
}

Semantic roles & 50–950 ramp

primary
#42A0CC
secondary
#D3AA97
accent
#7847E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A0CC

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

Preview Lab → · Contrast checker → · Palette generator →

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