#398F7B#398F7B

#398F7B is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.2% C 0.088 H 175.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#398F7B
RGBrgb(57, 143, 123)
HSLhsl(166, 43%, 39%)
HSVhsv(166, 60%, 56%)
CMYKcmyk(60.1%, 0%, 14%, 43.9%)
CIE-LABlab(53.97, -30.88, 2.96)
CIE-LCHlch(53.97, 31.02, 174.52°)
OKLaboklab(59.2% -0.0881 0.0074)
OKLCHoklch(59.2% 0.088 175.2)
XYZxyz(15.0833, 21.9433, 22.1756)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F7B #8F394D
analogous
#398F50 #398F7B #39788F
triadic
#398F7B #7B398F #8F7B39
tetradic
#398F7B #50398F #8F394D #788F39
square
#398F7B #50398F #8F394D #788F39
split-complementary
#398F7B #8F3978 #8F5039
monochromatic
#163730 #286355 #398F7B #4DB89F #79CAB7

Accessibility & contrast

On white

3.90
#398F7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#398F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F7B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F7B#FFFFFF#000000##000000
##398F7B1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867A
Deuteranopia (green-blind)
#7D7D7C
Tritanopia (blue-blind)
#009189
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398f7b;
/* rgb */ color: rgb(57, 143, 123);
/* oklch */ color: oklch(59.2% 0.088 175.2);
Tailwind
colors: {
  custom: {
    50: '#78b0a1',
    500: '#398f7b',
    950: '#000000',
  },
}
SCSS
$custom: #398f7b;
$custom-light: #78b0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#398f7b",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 123
  },
  "hsl": {
    "h": 166.047,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59201,
    "c": 0.08844,
    "h": 175.2
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#398F7B
secondary
#B37180
accent
#5572D3
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #398F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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