#398781#398781

#398781 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.3% C 0.077 H 188.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#398781
RGBrgb(57, 135, 129)
HSLhsl(175, 41%, 38%)
HSVhsv(175, 58%, 53%)
CMYKcmyk(57.8%, 0%, 4.4%, 47.1%)
CIE-LABlab(51.59, -25.33, -3.99)
CIE-LCHlch(51.59, 25.64, 188.96°)
OKLaboklab(57.33% -0.0761 -0.0112)
OKLCHoklch(57.33% 0.077 188.4)
XYZxyz(14.3120, 19.7814, 23.8286)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398781 #87393F
analogous
#39875A #398781 #396687
triadic
#398781 #813987 #878139
tetradic
#398781 #5A3987 #87393F #668739
square
#398781 #5A3987 #87393F #668739
split-complementary
#398781 #873966 #875A39
monochromatic
#15312F #275C58 #398781 #4BB2AA #75C5BF

Accessibility & contrast

On white

4.24
#398781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#398781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398781
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398781#FFFFFF#000000##000000
##3987811.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#808081
Deuteranopia (green-blind)
#747782
Tritanopia (blue-blind)
#008A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398781;
/* rgb */ color: rgb(57, 135, 129);
/* oklch */ color: oklch(57.3% 0.077 188.4);
Tailwind
colors: {
  custom: {
    50: '#78aaa5',
    500: '#398781',
    950: '#000000',
  },
}
SCSS
$custom: #398781;
$custom-light: #78aaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#398781",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 129
  },
  "hsl": {
    "h": 175.385,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.07687,
    "h": 188.4
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#398781
secondary
#AE6E73
accent
#5761D0
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #398781

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

Preview Lab → · Contrast checker → · Palette generator →

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