#398787#398787

#398787 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.076 H 195.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#398787
RGBrgb(57, 135, 135)
HSLhsl(180, 41%, 38%)
HSVhsv(180, 58%, 53%)
CMYKcmyk(57.8%, 0%, 0%, 47.1%)
CIE-LABlab(51.78, -23.61, -7.21)
CIE-LCHlch(51.78, 24.69, 196.98°)
OKLaboklab(57.54% -0.0733 -0.02)
OKLCHoklch(57.54% 0.076 195.3)
XYZxyz(14.7226, 19.9456, 25.9910)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398787 #873939
analogous
#398760 #398787 #396087
triadic
#398787 #873987 #878739
tetradic
#398787 #603987 #873939 #608739
square
#398787 #603987 #873939 #608739
split-complementary
#398787 #873960 #876039
monochromatic
#153131 #275C5C #398787 #4BB2B2 #75C5C5

Accessibility & contrast

On white

4.21
#398787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#398787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398787
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398787#FFFFFF#000000##000000
##3987871.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8187
Deuteranopia (green-blind)
#727788
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398787;
/* rgb */ color: rgb(57, 135, 135);
/* oklch */ color: oklch(57.5% 0.076 195.3);
Tailwind
colors: {
  custom: {
    50: '#78aaa9',
    500: '#398787',
    950: '#000000',
  },
}
SCSS
$custom: #398787;
$custom-light: #78aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#398787",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.07595,
    "h": 195.3
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#398787
secondary
#AE6E6E
accent
#5757D0
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #398787

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

Preview Lab → · Contrast checker → · Palette generator →

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