#42877E#42877E

#42877E is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.6% C 0.072 H 184.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#42877E
RGBrgb(66, 135, 126)
HSLhsl(172, 34%, 39%)
HSVhsv(172, 51%, 53%)
CMYKcmyk(51.1%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.83, -24.12, -1.86)
CIE-LCHlch(51.83, 24.19, 184.40°)
OKLaboklab(57.58% -0.0713 -0.0054)
OKLCHoklch(57.58% 0.072 184.3)
XYZxyz(14.6751, 19.9913, 22.8200)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42877E #87424B
analogous
#42875C #42877E #426E87
triadic
#42877E #7E4287 #877E42
tetradic
#42877E #5C4287 #87424B #6E8742
square
#42877E #5C4287 #87424B #6E8742
split-complementary
#42877E #87426E #875C42
monochromatic
#1A3531 #2E5E58 #42877E #59AEA3 #82C2B9

Accessibility & contrast

On white

4.20
#42877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#42877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42877E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42877E#FFFFFF#000000##000000
##42877E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807E
Deuteranopia (green-blind)
#76787F
Tritanopia (blue-blind)
#1D8984
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #42877e;
/* rgb */ color: rgb(66, 135, 126);
/* oklch */ color: oklch(57.6% 0.072 184.3);
Tailwind
colors: {
  custom: {
    50: '#7caaa3',
    500: '#42877e',
    950: '#000000',
  },
}
SCSS
$custom: #42877e;
$custom-light: #7caaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#42877e",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 172.174,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.07151,
    "h": 184.3
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#42877E
secondary
#AC787F
accent
#5D6CCA
background
#F7FAFA
surface
#EEF4F3
border
#C9CECD
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #42877E

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

Preview Lab → · Contrast checker → · Palette generator →

#42877E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva