#42A8D2#42A8D2

#42A8D2 is a light, moderate cyan. Relative luminance 0.338; OKLCH L 69.0% C 0.111 H 229.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#42A8D2
RGBrgb(66, 168, 210)
HSLhsl(198, 62%, 54%)
HSVhsv(198, 69%, 82%)
CMYKcmyk(68.6%, 20%, 0%, 17.6%)
CIE-LABlab(64.81, -16.13, -29.94)
CIE-LCHlch(64.81, 34.01, 241.69°)
OKLaboklab(68.99% -0.073 -0.0839)
OKLCHoklch(68.99% 0.111 229)
XYZxyz(27.8776, 33.8136, 66.0177)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8D2 #D26C42
analogous
#42D2B4 #42A8D2 #4260D2
triadic
#42A8D2 #D242A8 #A8D242
tetradic
#42A8D2 #B442D2 #D26C42 #60D242
square
#42A8D2 #B442D2 #D26C42 #60D242
split-complementary
#42A8D2 #D24260 #D2B442
monochromatic
#1E607C #2987AD #42A8D2 #73BFDE #A5D6EA

Accessibility & contrast

On white

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

On black

7.76
#42A8D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8D2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8D2#FFFFFF#000000##000000
##42A8D21.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D4
Deuteranopia (green-blind)
#7E97D1
Tritanopia (blue-blind)
#00B4B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a8d2;
/* rgb */ color: rgb(66, 168, 210);
/* oklch */ color: oklch(69.0% 0.111 229.0);
Tailwind
colors: {
  custom: {
    50: '#87c1e0',
    500: '#42a8d2',
    950: '#000000',
  },
}
SCSS
$custom: #42a8d2;
$custom-light: #87c1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8d2",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 210
  },
  "hsl": {
    "h": 197.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68985,
    "c": 0.1112,
    "h": 229
  },
  "luminance": 0.33817
}

Semantic roles & 50–950 ramp

primary
#42A8D2
secondary
#D7AB99
accent
#7243E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A8D2

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

Preview Lab → · Contrast checker → · Palette generator →

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