#42A7D7#42A7D7

#42A7D7 is a light, moderate cyan. Relative luminance 0.337; OKLCH L 69.0% C 0.116 H 232.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#42A7D7
RGBrgb(66, 167, 215)
HSLhsl(199, 65%, 55%)
HSVhsv(199, 69%, 84%)
CMYKcmyk(69.3%, 22.3%, 0%, 15.7%)
CIE-LABlab(64.72, -13.96, -32.85)
CIE-LCHlch(64.72, 35.69, 246.97°)
OKLaboklab(68.98% -0.0702 -0.0922)
OKLCHoklch(68.98% 0.116 232.7)
XYZxyz(28.3264, 33.6988, 69.2885)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7D7 #D77242
analogous
#42D7BD #42A7D7 #425CD7
triadic
#42A7D7 #D742A7 #A7D742
tetradic
#42A7D7 #BD42D7 #D77242 #5CD742
square
#42A7D7 #BD42D7 #D77242 #5CD742
split-complementary
#42A7D7 #D7425C #D7BD42
monochromatic
#1C6283 #2687B5 #42A7D7 #75BFE2 #A7D6EC

Accessibility & contrast

On white

2.71
#42A7D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#42A7D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7D7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7D7#FFFFFF#000000##000000
##42A7D71.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA5D9
Deuteranopia (green-blind)
#7B97D6
Tritanopia (blue-blind)
#00B4B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a7d7;
/* rgb */ color: rgb(66, 167, 215);
/* oklch */ color: oklch(69.0% 0.116 232.7);
Tailwind
colors: {
  custom: {
    50: '#88c1e3',
    500: '#42a7d7',
    950: '#000000',
  },
}
SCSS
$custom: #42a7d7;
$custom-light: #88c1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7d7",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 215
  },
  "hsl": {
    "h": 199.329,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.68979,
    "c": 0.11593,
    "h": 232.7
  },
  "luminance": 0.33702
}

Semantic roles & 50–950 ramp

primary
#42A7D7
secondary
#DAAF9B
accent
#7640E8
background
#F9FBFD
surface
#F1F7FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #42A7D7

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

Preview Lab → · Contrast checker → · Palette generator →

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