#42817C#42817C

#42817C is a mid, moderate teal. Relative luminance 0.183; OKLCH L 56.0% C 0.066 H 188.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#42817C
RGBrgb(66, 129, 124)
HSLhsl(175, 32%, 38%)
HSVhsv(175, 49%, 51%)
CMYKcmyk(48.8%, 0%, 3.9%, 49.4%)
CIE-LABlab(49.87, -21.56, -3.56)
CIE-LCHlch(49.87, 21.86, 189.38°)
OKLaboklab(55.99% -0.0649 -0.01)
OKLCHoklch(55.99% 0.066 188.7)
XYZxyz(13.7336, 18.3128, 21.8759)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42817C #814247
analogous
#42815C #42817C #426681
triadic
#42817C #7C4281 #817C42
tetradic
#42817C #5C4281 #814247 #668142
square
#42817C #5C4281 #814247 #668142
split-complementary
#42817C #814266 #815C42
monochromatic
#19302E #2D5955 #42817C #57A9A3 #80BEB9

Accessibility & contrast

On white

4.50
#42817C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#42817C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42817C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42817C#FFFFFF#000000##000000
##42817C1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7C
Deuteranopia (green-blind)
#70737D
Tritanopia (blue-blind)
#21847F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42817c;
/* rgb */ color: rgb(66, 129, 124);
/* oklch */ color: oklch(56.0% 0.066 188.7);
Tailwind
colors: {
  custom: {
    50: '#7ba6a1',
    500: '#42817c',
    950: '#000000',
  },
}
SCSS
$custom: #42817c;
$custom-light: #7ba6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42817c",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 175.238,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.06565,
    "h": 188.7
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#42817C
secondary
#A9767A
accent
#5F68C8
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A0F0F
muted
#7C7F7E

Preview Lab

Preview with #42817C

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

Preview Lab → · Contrast checker → · Palette generator →

#42817C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva