#42B7D8#42B7D8

#42B7D8 is a light, moderate cyan. Relative luminance 0.400; OKLCH L 72.8% C 0.112 H 220.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#42B7D8
RGBrgb(66, 183, 216)
HSLhsl(193, 66%, 55%)
HSVhsv(193, 69%, 85%)
CMYKcmyk(69.4%, 15.3%, 0%, 15.3%)
CIE-LABlab(69.45, -22.07, -26.10)
CIE-LCHlch(69.45, 34.18, 229.78°)
OKLaboklab(72.78% -0.0857 -0.0729)
OKLCHoklch(72.78% 0.112 220.4)
XYZxyz(31.5698, 39.9795, 71.0054)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B7D8 #D86342
analogous
#42D8AE #42B7D8 #426CD8
triadic
#42B7D8 #D842B7 #B7D842
tetradic
#42B7D8 #AE42D8 #D86342 #6CD842
square
#42B7D8 #AE42D8 #D86342 #6CD842
split-complementary
#42B7D8 #D8426C #D8AE42
monochromatic
#1B6D84 #2697B7 #42B7D8 #75CAE2 #A7DEED

Accessibility & contrast

On white

2.33
#42B7D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#42B7D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B7D8
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B7D8#FFFFFF#000000##000000
##42B7D81.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B2DA
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#00C2C1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42b7d8;
/* rgb */ color: rgb(66, 183, 216);
/* oklch */ color: oklch(72.8% 0.112 220.4);
Tailwind
colors: {
  custom: {
    50: '#89cce4',
    500: '#42b7d8',
    950: '#000000',
  },
}
SCSS
$custom: #42b7d8;
$custom-light: #89cce4;
$custom-dark: #000000;
JSON
{
  "hex": "#42b7d8",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 216
  },
  "hsl": {
    "h": 193.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.11249,
    "h": 220.4
  },
  "luminance": 0.39983
}

Semantic roles & 50–950 ramp

primary
#42B7D8
secondary
#DAA99C
accent
#643FE9
background
#F9FCFD
surface
#F1F9FB
border
#CBD2D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #42B7D8

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

Preview Lab → · Contrast checker → · Palette generator →

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