#42817B#42817B

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

Color values

HEX#42817B
RGBrgb(66, 129, 123)
HSLhsl(174, 32%, 38%)
HSVhsv(174, 49%, 51%)
CMYKcmyk(48.8%, 0%, 4.7%, 49.4%)
CIE-LABlab(49.84, -21.84, -3.02)
CIE-LCHlch(49.84, 22.04, 187.88°)
OKLaboklab(55.95% -0.0654 -0.0085)
OKLCHoklch(55.95% 0.066 187.4)
XYZxyz(13.6707, 18.2877, 21.5445)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42817B #814248
analogous
#42815B #42817B #426781
triadic
#42817B #7B4281 #817B42
tetradic
#42817B #5B4281 #814248 #678142
square
#42817B #5B4281 #814248 #678142
split-complementary
#42817B #814267 #815B42
monochromatic
#19302E #2D5954 #42817B #57A9A1 #80BEB8

Accessibility & contrast

On white

4.51
#42817B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42817B#FFFFFF#000000##000000
##42817B1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7B
Deuteranopia (green-blind)
#71737C
Tritanopia (blue-blind)
#22847F
Achromatopsia (no color)
#777777

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#42817B
secondary
#A9767B
accent
#5F69C8
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A0F0E
muted
#7C7F7E

Preview Lab

Preview with #42817B

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

Preview Lab → · Contrast checker → · Palette generator →

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