#42A7D9#42A7D9

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

Color values

HEX#42A7D9
RGBrgb(66, 167, 217)
HSLhsl(200, 67%, 55%)
HSVhsv(200, 70%, 85%)
CMYKcmyk(69.6%, 23%, 0%, 14.9%)
CIE-LABlab(64.81, -13.31, -33.83)
CIE-LCHlch(64.81, 36.35, 248.53°)
OKLaboklab(69.07% -0.0695 -0.0951)
OKLCHoklch(69.07% 0.118 233.8)
XYZxyz(28.5849, 33.8023, 70.6502)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7D9 #D97442
analogous
#42D9C0 #42A7D9 #425BD9
triadic
#42A7D9 #D942A7 #A7D942
tetradic
#42A7D9 #C042D9 #D97442 #5BD942
square
#42A7D9 #C042D9 #D97442 #5BD942
split-complementary
#42A7D9 #D9425B #D9C042
monochromatic
#1B6286 #2588B9 #42A7D9 #75BFE3 #A8D6ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A7D9#FFFFFF#000000##000000
##42A7D91.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)
#8FA6DB
Deuteranopia (green-blind)
#7A97D8
Tritanopia (blue-blind)
#00B4B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a7d9;
/* rgb */ color: rgb(66, 167, 217);
/* oklch */ color: oklch(69.1% 0.118 233.8);
Tailwind
colors: {
  custom: {
    50: '#88c1e5',
    500: '#42a7d9',
    950: '#000000',
  },
}
SCSS
$custom: #42a7d9;
$custom-light: #88c1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7d9",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 217
  },
  "hsl": {
    "h": 199.868,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.69072,
    "c": 0.11778,
    "h": 233.8
  },
  "luminance": 0.33805
}

Semantic roles & 50–950 ramp

primary
#42A7D9
secondary
#DBB19C
accent
#773EE9
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #42A7D9

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

Preview Lab → · Contrast checker → · Palette generator →

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