#398B87#398B87

#398B87 is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.6% C 0.079 H 190.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#398B87
RGBrgb(57, 139, 135)
HSLhsl(177, 42%, 38%)
HSVhsv(177, 59%, 55%)
CMYKcmyk(59%, 0%, 2.9%, 45.5%)
CIE-LABlab(53.04, -25.65, -5.33)
CIE-LCHlch(53.04, 26.20, 191.74°)
OKLaboklab(58.56% -0.0779 -0.0148)
OKLCHoklch(58.56% 0.079 190.8)
XYZxyz(15.2912, 21.0828, 26.1805)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B87 #8B393D
analogous
#398B5E #398B87 #39668B
triadic
#398B87 #87398B #8B8739
tetradic
#398B87 #5E398B #8B393D #668B39
square
#398B87 #5E398B #8B393D #668B39
split-complementary
#398B87 #8B3966 #8B5E39
monochromatic
#153433 #27605D #398B87 #4CB5B0 #77C7C3

Accessibility & contrast

On white

4.03
#398B87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#398B87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B87
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B87#FFFFFF#000000##000000
##398B871.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838487
Deuteranopia (green-blind)
#767B88
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #398b87;
/* rgb */ color: rgb(57, 139, 135);
/* oklch */ color: oklch(58.6% 0.079 190.8);
Tailwind
colors: {
  custom: {
    50: '#79ada9',
    500: '#398b87',
    950: '#000000',
  },
}
SCSS
$custom: #398b87;
$custom-light: #79ada9;
$custom-dark: #000000;
JSON
{
  "hex": "#398b87",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 135
  },
  "hsl": {
    "h": 177.073,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58563,
    "c": 0.07926,
    "h": 190.8
  },
  "luminance": 0.21084
}

Semantic roles & 50–950 ramp

primary
#398B87
secondary
#B06F73
accent
#565CD2
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #398B87

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

Preview Lab → · Contrast checker → · Palette generator →

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