#42B7CC#42B7CC

#42B7CC is a light, moderate teal. Relative luminance 0.394; OKLCH L 72.3% C 0.106 H 211.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#42B7CC
RGBrgb(66, 183, 204)
HSLhsl(189, 58%, 53%)
HSVhsv(189, 68%, 80%)
CMYKcmyk(67.6%, 10.3%, 0%, 20%)
CIE-LABlab(69.03, -25.78, -20.18)
CIE-LCHlch(69.03, 32.74, 218.05°)
OKLaboklab(72.29% -0.0904 -0.0561)
OKLCHoklch(72.29% 0.106 211.8)
XYZxyz(30.0747, 39.3815, 63.1314)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B7CC #CC5742
analogous
#42CC9C #42B7CC #4272CC
triadic
#42B7CC #CC42B7 #B7CC42
tetradic
#42B7CC #9C42CC #CC5742 #72CC42
square
#42B7CC #9C42CC #CC5742 #72CC42
split-complementary
#42B7CC #CC4272 #CC9C42
monochromatic
#1F6774 #2C92A4 #42B7CC #72C9D9 #A2DCE6

Accessibility & contrast

On white

2.37
#42B7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#42B7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B7CC
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B7CC#FFFFFF#000000##000000
##42B7CC1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B1CD
Deuteranopia (green-blind)
#93A2CC
Tritanopia (blue-blind)
#00C0BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42b7cc;
/* rgb */ color: rgb(66, 183, 204);
/* oklch */ color: oklch(72.3% 0.106 211.8);
Tailwind
colors: {
  custom: {
    50: '#87cddb',
    500: '#42b7cc',
    950: '#000000',
  },
}
SCSS
$custom: #42b7cc;
$custom-light: #87cddb;
$custom-dark: #000000;
JSON
{
  "hex": "#42b7cc",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 204
  },
  "hsl": {
    "h": 189.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.1064,
    "h": 211.8
  },
  "luminance": 0.39385
}

Semantic roles & 50–950 ramp

primary
#42B7CC
secondary
#D3A097
accent
#5E47E1
background
#F9FCFD
surface
#F1F9FB
border
#CBD2D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #42B7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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