#42A5CC#42A5CC

#42A5CC is a light, moderate cyan. Relative luminance 0.324; OKLCH L 68.0% C 0.107 H 227.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#42A5CC
RGBrgb(66, 165, 204)
HSLhsl(197, 58%, 53%)
HSVhsv(197, 68%, 80%)
CMYKcmyk(67.6%, 19.1%, 0%, 20%)
CIE-LABlab(63.69, -16.46, -28.34)
CIE-LCHlch(63.69, 32.78, 239.85°)
OKLaboklab(68.01% -0.0721 -0.0793)
OKLCHoklch(68.01% 0.107 227.7)
XYZxyz(26.5966, 32.4252, 61.9720)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5CC #CC6942
analogous
#42CCAE #42A5CC #4260CC
triadic
#42A5CC #CC42A5 #A5CC42
tetradic
#42A5CC #AE42CC #CC6942 #60CC42
square
#42A5CC #AE42CC #CC6942 #60CC42
split-complementary
#42A5CC #CC4260 #CCAE42
monochromatic
#1F5C74 #2C82A4 #42A5CC #72BCD9 #A2D3E6

Accessibility & contrast

On white

2.81
#42A5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#42A5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5CC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5CC#FFFFFF#000000##000000
##42A5CC1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CE
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a5cc;
/* rgb */ color: rgb(66, 165, 204);
/* oklch */ color: oklch(68.0% 0.107 227.7);
Tailwind
colors: {
  custom: {
    50: '#86bfdb',
    500: '#42a5cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a5cc;
$custom-light: #86bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5cc",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 204
  },
  "hsl": {
    "h": 196.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.10723,
    "h": 227.7
  },
  "luminance": 0.32428
}

Semantic roles & 50–950 ramp

primary
#42A5CC
secondary
#D3A897
accent
#7247E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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