#42A4CF#42A4CF

#42A4CF is a light, moderate cyan. Relative luminance 0.322; OKLCH L 67.9% C 0.110 H 230.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#42A4CF
RGBrgb(66, 164, 207)
HSLhsl(198, 59%, 54%)
HSVhsv(198, 68%, 81%)
CMYKcmyk(68.1%, 20.8%, 0%, 18.8%)
CIE-LABlab(63.52, -14.96, -30.28)
CIE-LCHlch(63.52, 33.78, 243.72°)
OKLaboklab(67.91% -0.07 -0.0849)
OKLCHoklch(67.91% 0.11 230.5)
XYZxyz(26.7802, 32.2112, 63.8254)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4CF #CF6D42
analogous
#42CFB3 #42A4CF #425DCF
triadic
#42A4CF #CF42A4 #A4CF42
tetradic
#42A4CF #B342CF #CF6D42 #5DCF42
square
#42A4CF #B342CF #CF6D42 #5DCF42
split-complementary
#42A4CF #CF425D #CFB342
monochromatic
#1F5D78 #2B82A9 #42A4CF #73BBDB #A4D3E8

Accessibility & contrast

On white

2.82
#42A4CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#42A4CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4CF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4CF#FFFFFF#000000##000000
##42A4CF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA2D1
Deuteranopia (green-blind)
#7B94CE
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a4cf;
/* rgb */ color: rgb(66, 164, 207);
/* oklch */ color: oklch(67.9% 0.110 230.5);
Tailwind
colors: {
  custom: {
    50: '#86bfdd',
    500: '#42a4cf',
    950: '#000000',
  },
}
SCSS
$custom: #42a4cf;
$custom-light: #86bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4cf",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 207
  },
  "hsl": {
    "h": 198.298,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6791,
    "c": 0.11005,
    "h": 230.5
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

primary
#42A4CF
secondary
#D5AB98
accent
#7545E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A4CF

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

Preview Lab → · Contrast checker → · Palette generator →

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