#338F8A#338F8A

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

Color values

HEX#338F8A
RGBrgb(51, 143, 138)
HSLhsl(177, 47%, 38%)
HSVhsv(177, 64%, 56%)
CMYKcmyk(64.3%, 0%, 3.5%, 43.9%)
CIE-LABlab(54.22, -27.90, -5.34)
CIE-LCHlch(54.22, 28.41, 190.83°)
OKLaboklab(59.5% -0.0844 -0.0149)
OKLCHoklch(59.5% 0.086 190)
XYZxyz(15.7731, 22.1820, 27.4901)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F8A #8F3338
analogous
#338F5C #338F8A #33668F
triadic
#338F8A #8A338F #8F8A33
tetradic
#338F8A #5C338F #8F3338 #668F33
square
#338F8A #5C338F #8F3338 #668F33
split-complementary
#338F8A #8F3366 #8F5C33
monochromatic
#133533 #23625E #338F8A #43BCB5 #70CCC7

Accessibility & contrast

On white

3.86
#338F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#338F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F8A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F8A#FFFFFF#000000##000000
##338F8A1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888A
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#00938D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338f8a;
/* rgb */ color: rgb(51, 143, 138);
/* oklch */ color: oklch(59.5% 0.086 190.0);
Tailwind
colors: {
  custom: {
    50: '#77b0ac',
    500: '#338f8a',
    950: '#000000',
  },
}
SCSS
$custom: #338f8a;
$custom-light: #77b0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#338f8a",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 138
  },
  "hsl": {
    "h": 176.739,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.08571,
    "h": 190
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#338F8A
secondary
#B46A6E
accent
#5158D7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #338F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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