#338F89#338F89

#338F89 is a mid, moderate teal. Relative luminance 0.222; OKLCH L 59.5% C 0.086 H 189.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#338F89
RGBrgb(51, 143, 137)
HSLhsl(176, 47%, 38%)
HSVhsv(176, 64%, 56%)
CMYKcmyk(64.3%, 0%, 4.2%, 43.9%)
CIE-LABlab(54.19, -28.19, -4.81)
CIE-LCHlch(54.19, 28.60, 189.67°)
OKLaboklab(59.46% -0.0849 -0.0135)
OKLCHoklch(59.46% 0.086 189)
XYZxyz(15.7010, 22.1532, 27.1106)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F89 #8F3339
analogous
#338F5B #338F89 #33678F
triadic
#338F89 #89338F #8F8933
tetradic
#338F89 #5B338F #8F3339 #678F33
square
#338F89 #5B338F #8F3339 #678F33
split-complementary
#338F89 #8F3367 #8F5B33
monochromatic
#133533 #23625E #338F89 #43BCB4 #70CCC6

Accessibility & contrast

On white

3.87
#338F89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#338F89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F89
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F89#FFFFFF#000000##000000
##338F891.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#878889
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#00938D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338f89;
/* rgb */ color: rgb(51, 143, 137);
/* oklch */ color: oklch(59.5% 0.086 189.0);
Tailwind
colors: {
  custom: {
    50: '#77b0ab',
    500: '#338f89',
    950: '#000000',
  },
}
SCSS
$custom: #338f89;
$custom-light: #77b0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#338f89",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 137
  },
  "hsl": {
    "h": 176.087,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.08593,
    "h": 189
  },
  "luminance": 0.22155
}

Semantic roles & 50–950 ramp

primary
#338F89
secondary
#B46A6F
accent
#515AD7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338F89

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

Preview Lab → · Contrast checker → · Palette generator →

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