#42A8D7#42A8D7

#42A8D7 is a light, moderate cyan. Relative luminance 0.341; OKLCH L 69.2% C 0.116 H 231.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#42A8D7
RGBrgb(66, 168, 215)
HSLhsl(199, 65%, 55%)
HSVhsv(199, 69%, 84%)
CMYKcmyk(69.3%, 21.9%, 0%, 15.7%)
CIE-LABlab(65.02, -14.50, -32.40)
CIE-LCHlch(65.02, 35.49, 245.88°)
OKLaboklab(69.21% -0.0712 -0.0909)
OKLCHoklch(69.21% 0.116 231.9)
XYZxyz(28.5103, 34.0666, 69.3498)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8D7 #D77142
analogous
#42D7BB #42A8D7 #425DD7
triadic
#42A8D7 #D742A8 #A8D742
tetradic
#42A8D7 #BB42D7 #D77142 #5DD742
square
#42A8D7 #BB42D7 #D77142 #5DD742
split-complementary
#42A8D7 #D7425D #D7BB42
monochromatic
#1C6283 #2688B5 #42A8D7 #75BFE2 #A7D7EC

Accessibility & contrast

On white

2.69
#42A8D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#42A8D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8D7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8D7#FFFFFF#000000##000000
##42A8D71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A6D9
Deuteranopia (green-blind)
#7C97D6
Tritanopia (blue-blind)
#00B5B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42a8d7;
/* rgb */ color: rgb(66, 168, 215);
/* oklch */ color: oklch(69.2% 0.116 231.9);
Tailwind
colors: {
  custom: {
    50: '#88c1e3',
    500: '#42a8d7',
    950: '#000000',
  },
}
SCSS
$custom: #42a8d7;
$custom-light: #88c1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8d7",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 215
  },
  "hsl": {
    "h": 198.926,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.69212,
    "c": 0.1155,
    "h": 231.9
  },
  "luminance": 0.3407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A8D7

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

Preview Lab → · Contrast checker → · Palette generator →

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