#338F87#338F87

#338F87 is a mid, moderate teal. Relative luminance 0.221; OKLCH L 59.4% C 0.086 H 187.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#338F87
RGBrgb(51, 143, 135)
HSLhsl(175, 47%, 38%)
HSVhsv(175, 64%, 56%)
CMYKcmyk(64.3%, 0%, 5.6%, 43.9%)
CIE-LABlab(54.13, -28.76, -3.74)
CIE-LCHlch(54.13, 29.01, 187.41°)
OKLaboklab(59.4% -0.0858 -0.0106)
OKLCHoklch(59.4% 0.086 187)
XYZxyz(15.5589, 22.0963, 26.3620)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F87 #8F333B
analogous
#338F59 #338F87 #33698F
triadic
#338F87 #87338F #8F8733
tetradic
#338F87 #59338F #8F333B #698F33
square
#338F87 #59338F #8F333B #698F33
split-complementary
#338F87 #8F3369 #8F5933
monochromatic
#133532 #23625C #338F87 #43BCB2 #70CCC4

Accessibility & contrast

On white

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

On black

5.42
#338F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F87
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F87#FFFFFF#000000##000000
##338F871.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#888787
Deuteranopia (green-blind)
#7A7D88
Tritanopia (blue-blind)
#00928C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f87;
/* rgb */ color: rgb(51, 143, 135);
/* oklch */ color: oklch(59.4% 0.086 187.0);
Tailwind
colors: {
  custom: {
    50: '#77b0a9',
    500: '#338f87',
    950: '#000000',
  },
}
SCSS
$custom: #338f87;
$custom-light: #77b0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#338f87",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 135
  },
  "hsl": {
    "h": 174.783,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.08645,
    "h": 187
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#338F87
secondary
#B46A70
accent
#515CD7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338F87

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

Preview Lab → · Contrast checker → · Palette generator →

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