#398F7E#398F7E

#398F7E is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.3% C 0.087 H 177.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#398F7E
RGBrgb(57, 143, 126)
HSLhsl(168, 43%, 39%)
HSVhsv(168, 60%, 56%)
CMYKcmyk(60.1%, 0%, 11.9%, 43.9%)
CIE-LABlab(54.05, -30.09, 1.35)
CIE-LCHlch(54.05, 30.12, 177.43°)
OKLaboklab(59.29% -0.0867 0.0031)
OKLCHoklch(59.29% 0.087 177.9)
XYZxyz(15.2740, 22.0196, 23.1799)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F7E #8F394A
analogous
#398F53 #398F7E #39758F
triadic
#398F7E #7E398F #8F7E39
tetradic
#398F7E #53398F #8F394A #758F39
square
#398F7E #53398F #8F394A #758F39
split-complementary
#398F7E #8F3975 #8F5339
monochromatic
#163731 #286357 #398F7E #4DB8A3 #79CABA

Accessibility & contrast

On white

3.89
#398F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#398F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F7E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F7E#FFFFFF#000000##000000
##398F7E1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877D
Deuteranopia (green-blind)
#7D7D7F
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398f7e;
/* rgb */ color: rgb(57, 143, 126);
/* oklch */ color: oklch(59.3% 0.087 177.9);
Tailwind
colors: {
  custom: {
    50: '#79b0a3',
    500: '#398f7e',
    950: '#000000',
  },
}
SCSS
$custom: #398f7e;
$custom-light: #79b0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#398f7e",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 126
  },
  "hsl": {
    "h": 168.14,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.08674,
    "h": 177.9
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#398F7E
secondary
#B3717E
accent
#556ED3
background
#F7FAFA
surface
#EEF5F3
border
#C9CFCD
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #398F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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