#338B8A#338B8A

#338B8A is a mid, moderate teal. Relative luminance 0.210; OKLCH L 58.5% C 0.082 H 194.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#338B8A
RGBrgb(51, 139, 138)
HSLhsl(179, 46%, 37%)
HSVhsv(179, 63%, 55%)
CMYKcmyk(63.3%, 0%, 0.7%, 45.5%)
CIE-LABlab(52.95, -25.91, -7.22)
CIE-LCHlch(52.95, 26.90, 195.57°)
OKLaboklab(58.47% -0.08 -0.02)
OKLCHoklch(58.47% 0.082 194.1)
XYZxyz(15.1833, 21.0024, 27.2935)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B8A #8B3334
analogous
#338B5E #338B8A #33608B
triadic
#338B8A #8A338B #8B8A33
tetradic
#338B8A #5E338B #8B3334 #608B33
square
#338B8A #5E338B #8B3334 #608B33
split-complementary
#338B8A #8B3360 #8B5E33
monochromatic
#123131 #235E5E #338B8A #43B8B6 #6ECAC9

Accessibility & contrast

On white

4.04
#338B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#338B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B8A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B8A#FFFFFF#000000##000000
##338B8A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82848A
Deuteranopia (green-blind)
#757A8B
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338b8a;
/* rgb */ color: rgb(51, 139, 138);
/* oklch */ color: oklch(58.5% 0.082 194.1);
Tailwind
colors: {
  custom: {
    50: '#76adac',
    500: '#338b8a',
    950: '#000000',
  },
}
SCSS
$custom: #338b8a;
$custom-light: #76adac;
$custom-dark: #000000;
JSON
{
  "hex": "#338b8a",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 138
  },
  "hsl": {
    "h": 179.318,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.08245,
    "h": 194.1
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#338B8A
secondary
#B26869
accent
#5253D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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