#338A89#338A89

#338A89 is a mid, moderate teal. Relative luminance 0.207; OKLCH L 58.2% C 0.082 H 194.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#338A89
RGBrgb(51, 138, 137)
HSLhsl(179, 46%, 37%)
HSVhsv(179, 63%, 54%)
CMYKcmyk(63%, 0%, 0.7%, 45.9%)
CIE-LABlab(52.60, -25.70, -7.16)
CIE-LCHlch(52.60, 26.68, 195.57°)
OKLaboklab(58.18% -0.0793 -0.0199)
OKLCHoklch(58.18% 0.082 194.1)
XYZxyz(14.9671, 20.6853, 26.8659)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A89 #8A3334
analogous
#338A5D #338A89 #33608A
triadic
#338A89 #89338A #8A8933
tetradic
#338A89 #5D338A #8A3334 #608A33
square
#338A89 #5D338A #8A3334 #608A33
split-complementary
#338A89 #8A3360 #8A5D33
monochromatic
#123130 #225D5D #338A89 #44B7B5 #6EC9C8

Accessibility & contrast

On white

4.09
#338A89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#338A89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A89
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A89#FFFFFF#000000##000000
##338A891.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#818389
Deuteranopia (green-blind)
#74798A
Tritanopia (blue-blind)
#008E89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338a89;
/* rgb */ color: rgb(51, 138, 137);
/* oklch */ color: oklch(58.2% 0.082 194.1);
Tailwind
colors: {
  custom: {
    50: '#76acab',
    500: '#338a89',
    950: '#000000',
  },
}
SCSS
$custom: #338a89;
$custom-light: #76acab;
$custom-dark: #000000;
JSON
{
  "hex": "#338a89",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 137
  },
  "hsl": {
    "h": 179.31,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.08178,
    "h": 194.1
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#338A89
secondary
#B16768
accent
#5254D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338A89

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

Preview Lab → · Contrast checker → · Palette generator →

#338A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva