#338E97#338E97

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

Color values

HEX#338E97
RGBrgb(51, 142, 151)
HSLhsl(185, 50%, 40%)
HSVhsv(185, 66%, 59%)
CMYKcmyk(66.2%, 6%, 0%, 40.8%)
CIE-LABlab(54.33, -23.52, -12.68)
CIE-LCHlch(54.33, 26.72, 208.33°)
OKLaboklab(59.72% -0.0774 -0.0352)
OKLCHoklch(59.72% 0.085 204.4)
XYZxyz(16.6218, 22.2823, 32.6971)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E97 #973C33
analogous
#33976E #338E97 #335C97
triadic
#338E97 #97338E #8E9733
tetradic
#338E97 #6E3397 #973C33 #5C9733
square
#338E97 #6E3397 #973C33 #5C9733
split-complementary
#338E97 #97335C #976E33
monochromatic
#14383C #246369 #338E97 #47B6C1 #74C8D0

Accessibility & contrast

On white

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

On black

5.46
#338E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E97
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E97#FFFFFF#000000##000000
##338E971.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#838898
Deuteranopia (green-blind)
#747D97
Tritanopia (blue-blind)
#009491
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338e97;
/* rgb */ color: rgb(51, 142, 151);
/* oklch */ color: oklch(59.7% 0.085 204.4);
Tailwind
colors: {
  custom: {
    50: '#78afb5',
    500: '#338e97',
    950: '#000000',
  },
}
SCSS
$custom: #338e97;
$custom-light: #78afb5;
$custom-dark: #000000;
JSON
{
  "hex": "#338e97",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 151
  },
  "hsl": {
    "h": 185.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.08504,
    "h": 204.4
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#338E97
secondary
#B8746D
accent
#5B4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338E97

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

Preview Lab → · Contrast checker → · Palette generator →

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