#42A5CF#42A5CF

#42A5CF is a light, moderate cyan. Relative luminance 0.326; OKLCH L 68.1% C 0.110 H 229.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#42A5CF
RGBrgb(66, 165, 207)
HSLhsl(198, 59%, 54%)
HSVhsv(198, 68%, 81%)
CMYKcmyk(68.1%, 20.3%, 0%, 18.8%)
CIE-LABlab(63.81, -15.49, -29.83)
CIE-LCHlch(63.81, 33.61, 242.55°)
OKLaboklab(68.15% -0.071 -0.0836)
OKLCHoklch(68.15% 0.11 229.6)
XYZxyz(26.9599, 32.5706, 63.8853)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5CF #CF6C42
analogous
#42CFB2 #42A5CF #425ECF
triadic
#42A5CF #CF42A5 #A5CF42
tetradic
#42A5CF #B242CF #CF6C42 #5ECF42
square
#42A5CF #B242CF #CF6C42 #5ECF42
split-complementary
#42A5CF #CF425E #CFB242
monochromatic
#1F5D78 #2B83A9 #42A5CF #73BCDB #A4D3E8

Accessibility & contrast

On white

2.79
#42A5CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#42A5CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5CF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5CF#FFFFFF#000000##000000
##42A5CF1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D1
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#00B1B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a5cf;
/* rgb */ color: rgb(66, 165, 207);
/* oklch */ color: oklch(68.1% 0.110 229.6);
Tailwind
colors: {
  custom: {
    50: '#86bfdd',
    500: '#42a5cf',
    950: '#000000',
  },
}
SCSS
$custom: #42a5cf;
$custom-light: #86bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5cf",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 207
  },
  "hsl": {
    "h": 197.872,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.1097,
    "h": 229.6
  },
  "luminance": 0.32574
}

Semantic roles & 50–950 ramp

primary
#42A5CF
secondary
#D5AA98
accent
#7445E3
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A5CF

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

Preview Lab → · Contrast checker → · Palette generator →

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