#338B96#338B96

#338B96 is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.9% C 0.084 H 206.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#338B96
RGBrgb(51, 139, 150)
HSLhsl(187, 49%, 39%)
HSVhsv(187, 66%, 59%)
CMYKcmyk(66%, 7.3%, 0%, 41.2%)
CIE-LABlab(53.35, -22.27, -13.57)
CIE-LCHlch(53.35, 26.08, 211.36°)
OKLaboklab(58.93% -0.0746 -0.0377)
OKLCHoklch(58.93% 0.084 206.8)
XYZxyz(16.1005, 21.3693, 32.1244)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B96 #963E33
analogous
#339670 #338B96 #335996
triadic
#338B96 #96338B #8B9633
tetradic
#338B96 #703396 #963E33 #599633
square
#338B96 #703396 #963E33 #599633
split-complementary
#338B96 #963359 #967033
monochromatic
#14363B #236168 #338B96 #46B3C0 #74C5D0

Accessibility & contrast

On white

3.98
#338B96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#338B96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B96
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B96#FFFFFF#000000##000000
##338B961.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808697
Deuteranopia (green-blind)
#717B96
Tritanopia (blue-blind)
#00918E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338b96;
/* rgb */ color: rgb(51, 139, 150);
/* oklch */ color: oklch(58.9% 0.084 206.8);
Tailwind
colors: {
  custom: {
    50: '#77adb4',
    500: '#338b96',
    950: '#000000',
  },
}
SCSS
$custom: #338b96;
$custom-light: #77adb4;
$custom-dark: #000000;
JSON
{
  "hex": "#338b96",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 150
  },
  "hsl": {
    "h": 186.667,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.08357,
    "h": 206.8
  },
  "luminance": 0.21371
}

Semantic roles & 50–950 ramp

primary
#338B96
secondary
#B8756D
accent
#5E4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338B96

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

Preview Lab → · Contrast checker → · Palette generator →

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