#397879#397879

#397879 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.065 H 196.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397879
RGBrgb(57, 120, 121)
HSLhsl(181, 36%, 35%)
HSVhsv(181, 53%, 47%)
CMYKcmyk(52.9%, 0.8%, 0%, 52.5%)
CIE-LABlab(46.55, -19.82, -6.75)
CIE-LCHlch(46.55, 20.94, 198.81°)
OKLaboklab(53.18% -0.0619 -0.0187)
OKLCHoklch(53.18% 0.065 196.8)
XYZxyz(11.8536, 15.6822, 20.4878)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397879 #793A39
analogous
#39795A #397879 #395879
triadic
#397879 #793978 #787939
tetradic
#397879 #5A3979 #793A39 #587939
square
#397879 #5A3979 #793A39 #587939
split-complementary
#397879 #793958 #795A39
monochromatic
#122526 #254F4F #397879 #4DA1A3 #71BBBC

Accessibility & contrast

On white

5.08
#397879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#397879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397879
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397879#FFFFFF#000000##FFFFFF
##3978791.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717379
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#097C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397879;
/* rgb */ color: rgb(57, 120, 121);
/* oklch */ color: oklch(53.2% 0.065 196.8);
Tailwind
colors: {
  custom: {
    50: '#769f9f',
    500: '#397879',
    950: '#000000',
  },
}
SCSS
$custom: #397879;
$custom-light: #769f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#397879",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.938,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.06468,
    "h": 196.8
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#397879
secondary
#A56A69
accent
#5E5CCC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #397879

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

Preview Lab → · Contrast checker → · Palette generator →

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