#338A87#338A87

#338A87 is a mid, moderate teal. Relative luminance 0.206; OKLCH L 58.1% C 0.082 H 191.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#338A87
RGBrgb(51, 138, 135)
HSLhsl(178, 46%, 37%)
HSVhsv(178, 63%, 54%)
CMYKcmyk(63%, 0%, 2.2%, 45.9%)
CIE-LABlab(52.54, -26.29, -6.09)
CIE-LCHlch(52.54, 26.98, 193.05°)
OKLaboklab(58.11% -0.0802 -0.017)
OKLCHoklch(58.11% 0.082 191.9)
XYZxyz(14.8250, 20.6285, 26.1174)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A87 #8A3336
analogous
#338A5C #338A87 #33628A
triadic
#338A87 #87338A #8A8733
tetradic
#338A87 #5C338A #8A3336 #628A33
square
#338A87 #5C338A #8A3336 #628A33
split-complementary
#338A87 #8A3362 #8A5C33
monochromatic
#123130 #225D5B #338A87 #44B7B3 #6EC9C6

Accessibility & contrast

On white

4.10
#338A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#338A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A87
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A87#FFFFFF#000000##000000
##338A871.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#828387
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#008E89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338a87;
/* rgb */ color: rgb(51, 138, 135);
/* oklch */ color: oklch(58.1% 0.082 191.9);
Tailwind
colors: {
  custom: {
    50: '#76aca9',
    500: '#338a87',
    950: '#000000',
  },
}
SCSS
$custom: #338a87;
$custom-light: #76aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#338a87",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 135
  },
  "hsl": {
    "h": 177.931,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.08202,
    "h": 191.9
  },
  "luminance": 0.2063
}

Semantic roles & 50–950 ramp

primary
#338A87
secondary
#B1676A
accent
#5257D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338A87

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

Preview Lab → · Contrast checker → · Palette generator →

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