#398879#398879

#398879 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.3% C 0.081 H 178.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#398879
RGBrgb(57, 136, 121)
HSLhsl(169, 41%, 38%)
HSVhsv(169, 58%, 53%)
CMYKcmyk(58.1%, 0%, 11%, 46.7%)
CIE-LABlab(51.68, -28.02, 0.79)
CIE-LCHlch(51.68, 28.03, 178.38°)
OKLaboklab(57.32% -0.081 0.0017)
OKLCHoklch(57.32% 0.081 178.8)
XYZxyz(13.9411, 19.8573, 21.1836)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398879 #883948
analogous
#398852 #398879 #396F88
triadic
#398879 #793988 #887939
tetradic
#398879 #523988 #883948 #6F8839
square
#398879 #523988 #883948 #6F8839
split-complementary
#398879 #88396F #885239
monochromatic
#15322C #275D53 #398879 #4BB39F #76C6B6

Accessibility & contrast

On white

4.22
#398879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#398879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398879
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398879#FFFFFF#000000##000000
##3988791.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838078
Deuteranopia (green-blind)
#77777A
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398879;
/* rgb */ color: rgb(57, 136, 121);
/* oklch */ color: oklch(57.3% 0.081 178.8);
Tailwind
colors: {
  custom: {
    50: '#77ab9f',
    500: '#398879',
    950: '#000000',
  },
}
SCSS
$custom: #398879;
$custom-light: #77ab9f;
$custom-dark: #000000;
JSON
{
  "hex": "#398879",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 121
  },
  "hsl": {
    "h": 168.608,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.08103,
    "h": 178.8
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#398879
secondary
#AF6E7A
accent
#576ED1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398879

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

Preview Lab → · Contrast checker → · Palette generator →

#398879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva