#398786#398786

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

Color values

HEX#398786
RGBrgb(57, 135, 134)
HSLhsl(179, 41%, 38%)
HSVhsv(179, 58%, 53%)
CMYKcmyk(57.8%, 0%, 0.7%, 47.1%)
CIE-LABlab(51.74, -23.90, -6.68)
CIE-LCHlch(51.74, 24.82, 195.61°)
OKLaboklab(57.51% -0.0737 -0.0185)
OKLCHoklch(57.51% 0.076 194.1)
XYZxyz(14.6526, 19.9176, 25.6219)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398786 #87393A
analogous
#39875F #398786 #396187
triadic
#398786 #863987 #878639
tetradic
#398786 #5F3987 #87393A #618739
square
#398786 #5F3987 #87393A #618739
split-complementary
#398786 #873961 #875F39
monochromatic
#153131 #275C5B #398786 #4BB2B1 #75C5C4

Accessibility & contrast

On white

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

On black

4.98
#398786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398786
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398786#FFFFFF#000000##000000
##3987861.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8186
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#008B86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398786;
/* rgb */ color: rgb(57, 135, 134);
/* oklch */ color: oklch(57.5% 0.076 194.1);
Tailwind
colors: {
  custom: {
    50: '#78aaa9',
    500: '#398786',
    950: '#000000',
  },
}
SCSS
$custom: #398786;
$custom-light: #78aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#398786",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 134
  },
  "hsl": {
    "h": 179.231,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.07602,
    "h": 194.1
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#398786
secondary
#AE6E6F
accent
#5759D0
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #398786

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

Preview Lab → · Contrast checker → · Palette generator →

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