#398B79#398B79

#398B79 is a mid, moderate teal. Relative luminance 0.207; OKLCH L 58.1% C 0.085 H 176.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#398B79
RGBrgb(57, 139, 121)
HSLhsl(167, 42%, 38%)
HSVhsv(167, 59%, 55%)
CMYKcmyk(59%, 0%, 12.9%, 45.5%)
CIE-LABlab(52.64, -29.48, 2.19)
CIE-LCHlch(52.64, 29.56, 175.76°)
OKLaboklab(58.1% -0.0845 0.0053)
OKLCHoklch(58.1% 0.085 176.4)
XYZxyz(14.3696, 20.7142, 21.3264)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B79 #8B394B
analogous
#398B50 #398B79 #39748B
triadic
#398B79 #79398B #8B7939
tetradic
#398B79 #50398B #8B394B #748B39
square
#398B79 #50398B #8B394B #748B39
split-complementary
#398B79 #8B3974 #8B5039
monochromatic
#15342D #276053 #398B79 #4CB59E #77C7B6

Accessibility & contrast

On white

4.08
#398B79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#398B79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B79
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B79#FFFFFF#000000##000000
##398B791.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#868378
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398b79;
/* rgb */ color: rgb(57, 139, 121);
/* oklch */ color: oklch(58.1% 0.085 176.4);
Tailwind
colors: {
  custom: {
    50: '#78ad9f',
    500: '#398b79',
    950: '#000000',
  },
}
SCSS
$custom: #398b79;
$custom-light: #78ad9f;
$custom-dark: #000000;
JSON
{
  "hex": "#398b79",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 121
  },
  "hsl": {
    "h": 166.829,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.08467,
    "h": 176.4
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#398B79
secondary
#B06F7E
accent
#5671D2
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #398B79

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

Preview Lab → · Contrast checker → · Palette generator →

#398B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva