#398178#398178

#398178 is a mid, moderate teal. Relative luminance 0.179; OKLCH L 55.5% C 0.073 H 184.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#398178
RGBrgb(57, 129, 120)
HSLhsl(173, 39%, 36%)
HSVhsv(173, 56%, 51%)
CMYKcmyk(55.8%, 0%, 7%, 49.4%)
CIE-LABlab(49.41, -24.79, -1.94)
CIE-LCHlch(49.41, 24.87, 184.48°)
OKLaboklab(55.47% -0.0732 -0.0056)
OKLCHoklch(55.47% 0.073 184.4)
XYZxyz(12.9263, 17.9252, 20.5444)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398178 #813942
analogous
#398154 #398178 #396681
triadic
#398178 #783981 #817839
tetradic
#398178 #543981 #813942 #668139
square
#398178 #543981 #813942 #668139
split-complementary
#398178 #813966 #815439
monochromatic
#132C29 #265751 #398178 #4CAB9F #73C1B7

Accessibility & contrast

On white

4.58
#398178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#398178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398178
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398178#FFFFFF#000000##000000
##3981781.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A78
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#03847E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398178;
/* rgb */ color: rgb(57, 129, 120);
/* oklch */ color: oklch(55.5% 0.073 184.4);
Tailwind
colors: {
  custom: {
    50: '#76a69e',
    500: '#398178',
    950: '#000000',
  },
}
SCSS
$custom: #398178;
$custom-light: #76a69e;
$custom-dark: #000000;
JSON
{
  "hex": "#398178",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 172.5,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.07347,
    "h": 184.4
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#398178
secondary
#AA6B73
accent
#5968CF
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #398178

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

Preview Lab → · Contrast checker → · Palette generator →

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