#338E87#338E87

#338E87 is a mid, moderate teal. Relative luminance 0.218; OKLCH L 59.1% C 0.086 H 188.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#338E87
RGBrgb(51, 142, 135)
HSLhsl(175, 47%, 38%)
HSVhsv(175, 64%, 56%)
CMYKcmyk(64.1%, 0%, 4.9%, 44.3%)
CIE-LABlab(53.81, -28.27, -4.21)
CIE-LCHlch(53.81, 28.59, 188.47°)
OKLaboklab(59.14% -0.0847 -0.0118)
OKLCHoklch(59.14% 0.086 188)
XYZxyz(15.4094, 21.7974, 26.3122)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E87 #8E333A
analogous
#338E5A #338E87 #33678E
triadic
#338E87 #87338E #8E8733
tetradic
#338E87 #5A338E #8E333A #678E33
square
#338E87 #5A338E #8E333A #678E33
split-complementary
#338E87 #8E3367 #8E5A33
monochromatic
#133431 #23615C #338E87 #43BBB2 #70CCC5

Accessibility & contrast

On white

3.92
#338E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#338E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E87
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E87#FFFFFF#000000##000000
##338E871.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#868787
Deuteranopia (green-blind)
#797C88
Tritanopia (blue-blind)
#00918C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338e87;
/* rgb */ color: rgb(51, 142, 135);
/* oklch */ color: oklch(59.1% 0.086 188.0);
Tailwind
colors: {
  custom: {
    50: '#76afa9',
    500: '#338e87',
    950: '#000000',
  },
}
SCSS
$custom: #338e87;
$custom-light: #76afa9;
$custom-dark: #000000;
JSON
{
  "hex": "#338e87",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 135
  },
  "hsl": {
    "h": 175.385,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.08552,
    "h": 188
  },
  "luminance": 0.21799
}

Semantic roles & 50–950 ramp

primary
#338E87
secondary
#B4696F
accent
#515BD7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338E87

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

Preview Lab → · Contrast checker → · Palette generator →

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