#338E8A#338E8A

#338E8A is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.2% C 0.085 H 191.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#338E8A
RGBrgb(51, 142, 138)
HSLhsl(177, 47%, 38%)
HSVhsv(177, 64%, 56%)
CMYKcmyk(64.1%, 0%, 2.8%, 44.3%)
CIE-LABlab(53.90, -27.41, -5.81)
CIE-LCHlch(53.90, 28.02, 191.96°)
OKLaboklab(59.24% -0.0833 -0.0162)
OKLCHoklch(59.24% 0.085 191)
XYZxyz(15.6236, 21.8831, 27.4403)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E8A #8E3337
analogous
#338E5D #338E8A #33648E
triadic
#338E8A #8A338E #8E8A33
tetradic
#338E8A #5D338E #8E3337 #648E33
square
#338E8A #5D338E #8E3337 #648E33
split-complementary
#338E8A #8E3364 #8E5D33
monochromatic
#133432 #23615E #338E8A #43BBB6 #70CCC8

Accessibility & contrast

On white

3.91
#338E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#338E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E8A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E8A#FFFFFF#000000##000000
##338E8A1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86878A
Deuteranopia (green-blind)
#787C8B
Tritanopia (blue-blind)
#00928D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338e8a;
/* rgb */ color: rgb(51, 142, 138);
/* oklch */ color: oklch(59.2% 0.085 191.0);
Tailwind
colors: {
  custom: {
    50: '#77afac',
    500: '#338e8a',
    950: '#000000',
  },
}
SCSS
$custom: #338e8a;
$custom-light: #77afac;
$custom-dark: #000000;
JSON
{
  "hex": "#338e8a",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 138
  },
  "hsl": {
    "h": 177.363,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59242,
    "c": 0.08486,
    "h": 191
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#338E8A
secondary
#B4696D
accent
#5157D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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