#338E96#338E96

#338E96 is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.7% C 0.085 H 203.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#338E96
RGBrgb(51, 142, 150)
HSLhsl(185, 49%, 39%)
HSVhsv(185, 66%, 59%)
CMYKcmyk(66%, 5.3%, 0%, 41.2%)
CIE-LABlab(54.29, -23.83, -12.15)
CIE-LCHlch(54.29, 26.75, 207.03°)
OKLaboklab(59.69% -0.0779 -0.0337)
OKLCHoklch(59.69% 0.085 203.4)
XYZxyz(16.5409, 22.2500, 32.2712)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E96 #963B33
analogous
#33966C #338E96 #335D96
triadic
#338E96 #96338E #8E9633
tetradic
#338E96 #6C3396 #963B33 #5D9633
square
#338E96 #6C3396 #963B33 #5D9633
split-complementary
#338E96 #96335D #966C33
monochromatic
#14383B #236368 #338E96 #46B6C0 #74C8D0

Accessibility & contrast

On white

3.85
#338E96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#338E96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E96
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E96#FFFFFF#000000##000000
##338E961.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#838897
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#009490
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338e96;
/* rgb */ color: rgb(51, 142, 150);
/* oklch */ color: oklch(59.7% 0.085 203.4);
Tailwind
colors: {
  custom: {
    50: '#78afb4',
    500: '#338e96',
    950: '#000000',
  },
}
SCSS
$custom: #338e96;
$custom-light: #78afb4;
$custom-dark: #000000;
JSON
{
  "hex": "#338e96",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 150
  },
  "hsl": {
    "h": 184.848,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.08485,
    "h": 203.4
  },
  "luminance": 0.22252
}

Semantic roles & 50–950 ramp

primary
#338E96
secondary
#B8736D
accent
#5A4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338E96

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

Preview Lab → · Contrast checker → · Palette generator →

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