#338B97#338B97

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

Color values

HEX#338B97
RGBrgb(51, 139, 151)
HSLhsl(187, 50%, 40%)
HSVhsv(187, 66%, 59%)
CMYKcmyk(66.2%, 7.9%, 0%, 40.8%)
CIE-LABlab(53.39, -21.96, -14.10)
CIE-LCHlch(53.39, 26.10, 212.70°)
OKLaboklab(58.97% -0.0742 -0.0391)
OKLCHoklch(58.97% 0.084 207.8)
XYZxyz(16.1814, 21.4016, 32.5503)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B97 #973F33
analogous
#339771 #338B97 #335997
triadic
#338B97 #97338B #8B9733
tetradic
#338B97 #713397 #973F33 #599733
square
#338B97 #713397 #973F33 #599733
split-complementary
#338B97 #973359 #977133
monochromatic
#14373C #246169 #338B97 #47B2C1 #74C5D0

Accessibility & contrast

On white

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

On black

5.28
#338B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B97
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B97#FFFFFF#000000##000000
##338B971.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8698
Deuteranopia (green-blind)
#717B97
Tritanopia (blue-blind)
#00918F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338b97;
/* rgb */ color: rgb(51, 139, 151);
/* oklch */ color: oklch(59.0% 0.084 207.8);
Tailwind
colors: {
  custom: {
    50: '#78adb5',
    500: '#338b97',
    950: '#000000',
  },
}
SCSS
$custom: #338b97;
$custom-light: #78adb5;
$custom-dark: #000000;
JSON
{
  "hex": "#338b97",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 151
  },
  "hsl": {
    "h": 187.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58967,
    "c": 0.08386,
    "h": 207.8
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#338B97
secondary
#B8766D
accent
#5F4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338B97

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

Preview Lab → · Contrast checker → · Palette generator →

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