#42A1CC#42A1CC

#42A1CC is a light, moderate cyan. Relative luminance 0.310; OKLCH L 67.1% C 0.109 H 231.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#42A1CC
RGBrgb(66, 161, 204)
HSLhsl(199, 58%, 53%)
HSVhsv(199, 68%, 80%)
CMYKcmyk(67.6%, 21.1%, 0%, 20%)
CIE-LABlab(62.51, -14.31, -30.17)
CIE-LCHlch(62.51, 33.39, 244.62°)
OKLaboklab(67.07% -0.0681 -0.0846)
OKLCHoklch(67.07% 0.109 231.2)
XYZxyz(25.8864, 31.0048, 61.7353)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A1CC #CC6D42
analogous
#42CCB2 #42A1CC #425CCC
triadic
#42A1CC #CC42A1 #A1CC42
tetradic
#42A1CC #B242CC #CC6D42 #5CCC42
square
#42A1CC #B242CC #CC6D42 #5CCC42
split-complementary
#42A1CC #CC425C #CCB242
monochromatic
#1F5A74 #2C7FA4 #42A1CC #72B9D9 #A2D1E6

Accessibility & contrast

On white

2.92
#42A1CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#42A1CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A1CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A1CC#FFFFFF#000000##000000
##42A1CC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCE
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#00ADAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42a1cc;
/* rgb */ color: rgb(66, 161, 204);
/* oklch */ color: oklch(67.1% 0.109 231.2);
Tailwind
colors: {
  custom: {
    50: '#86bcdb',
    500: '#42a1cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a1cc;
$custom-light: #86bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a1cc",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 204
  },
  "hsl": {
    "h": 198.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.67069,
    "c": 0.10858,
    "h": 231.2
  },
  "luminance": 0.31008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A1CC

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

Preview Lab → · Contrast checker → · Palette generator →

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