#42A8D9#42A8D9

#42A8D9 is a light, moderate cyan. Relative luminance 0.342; OKLCH L 69.3% C 0.117 H 233.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#42A8D9
RGBrgb(66, 168, 217)
HSLhsl(199, 67%, 55%)
HSVhsv(199, 70%, 85%)
CMYKcmyk(69.6%, 22.6%, 0%, 14.9%)
CIE-LABlab(65.10, -13.85, -33.37)
CIE-LCHlch(65.10, 36.13, 247.47°)
OKLaboklab(69.31% -0.0705 -0.0937)
OKLCHoklch(69.31% 0.117 233)
XYZxyz(28.7688, 34.1701, 70.7115)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8D9 #D97342
analogous
#42D9BE #42A8D9 #425CD9
triadic
#42A8D9 #D942A8 #A8D942
tetradic
#42A8D9 #BE42D9 #D97342 #5CD942
square
#42A8D9 #BE42D9 #D97342 #5CD942
split-complementary
#42A8D9 #D9425C #D9BE42
monochromatic
#1B6386 #2589B9 #42A8D9 #75BFE3 #A8D7ED

Accessibility & contrast

On white

2.68
#42A8D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#42A8D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8D9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8D9#FFFFFF#000000##000000
##42A8D91.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A6DB
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#00B5B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42a8d9;
/* rgb */ color: rgb(66, 168, 217);
/* oklch */ color: oklch(69.3% 0.117 233.0);
Tailwind
colors: {
  custom: {
    50: '#88c1e5',
    500: '#42a8d9',
    950: '#000000',
  },
}
SCSS
$custom: #42a8d9;
$custom-light: #88c1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8d9",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 217
  },
  "hsl": {
    "h": 199.47,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.11731,
    "h": 233
  },
  "luminance": 0.34173
}

Semantic roles & 50–950 ramp

primary
#42A8D9
secondary
#DBB09C
accent
#763EE9
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #42A8D9

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

Preview Lab → · Contrast checker → · Palette generator →

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