#338F8D#338F8D

#338F8D is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.6% C 0.085 H 193.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#338F8D
RGBrgb(51, 143, 141)
HSLhsl(179, 47%, 38%)
HSVhsv(179, 64%, 56%)
CMYKcmyk(64.3%, 0%, 1.4%, 43.9%)
CIE-LABlab(54.31, -27.03, -6.93)
CIE-LCHlch(54.31, 27.91, 194.38°)
OKLaboklab(59.61% -0.083 -0.0193)
OKLCHoklch(59.61% 0.085 193.1)
XYZxyz(15.9933, 22.2701, 28.6498)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F8D #8F3335
analogous
#338F5F #338F8D #33638F
triadic
#338F8D #8D338F #8F8D33
tetradic
#338F8D #5F338F #8F3335 #638F33
square
#338F8D #5F338F #8F3335 #638F33
split-complementary
#338F8D #8F3363 #8F5F33
monochromatic
#133534 #236261 #338F8D #43BCB9 #70CCCA

Accessibility & contrast

On white

3.85
#338F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#338F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F8D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F8D#FFFFFF#000000##000000
##338F8D1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888D
Deuteranopia (green-blind)
#787D8E
Tritanopia (blue-blind)
#00938E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338f8d;
/* rgb */ color: rgb(51, 143, 141);
/* oklch */ color: oklch(59.6% 0.085 193.1);
Tailwind
colors: {
  custom: {
    50: '#77b0ae',
    500: '#338f8d',
    950: '#000000',
  },
}
SCSS
$custom: #338f8d;
$custom-light: #77b0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#338f8d",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 141
  },
  "hsl": {
    "h": 178.696,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.08523,
    "h": 193.1
  },
  "luminance": 0.22272
}

Semantic roles & 50–950 ramp

primary
#338F8D
secondary
#B46A6B
accent
#5154D7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #338F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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