#42A4CC#42A4CC

#42A4CC is a light, moderate cyan. Relative luminance 0.321; OKLCH L 67.8% C 0.108 H 228.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#42A4CC
RGBrgb(66, 164, 204)
HSLhsl(197, 58%, 53%)
HSVhsv(197, 68%, 80%)
CMYKcmyk(67.6%, 19.6%, 0%, 20%)
CIE-LABlab(63.40, -15.93, -28.80)
CIE-LCHlch(63.40, 32.91, 241.05°)
OKLaboklab(67.77% -0.0711 -0.0806)
OKLCHoklch(67.77% 0.108 228.6)
XYZxyz(26.4170, 32.0659, 61.9121)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4CC #CC6A42
analogous
#42CCAF #42A4CC #425FCC
triadic
#42A4CC #CC42A4 #A4CC42
tetradic
#42A4CC #AF42CC #CC6A42 #5FCC42
square
#42A4CC #AF42CC #CC6A42 #5FCC42
split-complementary
#42A4CC #CC425F #CCAF42
monochromatic
#1F5C74 #2C82A4 #42A4CC #72BBD9 #A2D2E6

Accessibility & contrast

On white

2.83
#42A4CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#42A4CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4CC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4CC#FFFFFF#000000##000000
##42A4CC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CE
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#00AFB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42a4cc;
/* rgb */ color: rgb(66, 164, 204);
/* oklch */ color: oklch(67.8% 0.108 228.6);
Tailwind
colors: {
  custom: {
    50: '#86bfdb',
    500: '#42a4cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a4cc;
$custom-light: #86bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4cc",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 204
  },
  "hsl": {
    "h": 197.391,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.10752,
    "h": 228.6
  },
  "luminance": 0.32069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A4CC

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

Preview Lab → · Contrast checker → · Palette generator →

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