#338B88#338B88

#338B88 is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.4% C 0.083 H 192.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#338B88
RGBrgb(51, 139, 136)
HSLhsl(178, 46%, 37%)
HSVhsv(178, 63%, 55%)
CMYKcmyk(63.3%, 0%, 2.2%, 45.5%)
CIE-LABlab(52.89, -26.50, -6.16)
CIE-LCHlch(52.89, 27.20, 193.08°)
OKLaboklab(58.4% -0.0809 -0.0171)
OKLCHoklch(58.4% 0.083 192)
XYZxyz(15.0398, 20.9450, 26.5380)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B88 #8B3336
analogous
#338B5C #338B88 #33628B
triadic
#338B88 #88338B #8B8833
tetradic
#338B88 #5C338B #8B3336 #628B33
square
#338B88 #5C338B #8B3336 #628B33
split-complementary
#338B88 #8B3362 #8B5C33
monochromatic
#123130 #235E5C #338B88 #43B8B4 #6ECAC7

Accessibility & contrast

On white

4.05
#338B88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#338B88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B88
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B88#FFFFFF#000000##000000
##338B881.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#838488
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338b88;
/* rgb */ color: rgb(51, 139, 136);
/* oklch */ color: oklch(58.4% 0.083 192.0);
Tailwind
colors: {
  custom: {
    50: '#76adaa',
    500: '#338b88',
    950: '#000000',
  },
}
SCSS
$custom: #338b88;
$custom-light: #76adaa;
$custom-dark: #000000;
JSON
{
  "hex": "#338b88",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 136
  },
  "hsl": {
    "h": 177.955,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.584,
    "c": 0.08269,
    "h": 192
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#338B88
secondary
#B2686A
accent
#5256D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338B88

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

Preview Lab → · Contrast checker → · Palette generator →

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