#338F97#338F97

#338F97 is a mid, moderate teal. Relative luminance 0.226; OKLCH L 60.0% C 0.085 H 203.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#338F97
RGBrgb(51, 143, 151)
HSLhsl(185, 50%, 40%)
HSVhsv(185, 66%, 59%)
CMYKcmyk(66.2%, 5.3%, 0%, 40.8%)
CIE-LABlab(54.64, -24.03, -12.21)
CIE-LCHlch(54.64, 26.96, 206.93°)
OKLaboklab(59.98% -0.0785 -0.0338)
OKLCHoklch(59.98% 0.085 203.3)
XYZxyz(16.7712, 22.5812, 32.7469)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F97 #973B33
analogous
#33976D #338F97 #335D97
triadic
#338F97 #97338F #8F9733
tetradic
#338F97 #6D3397 #973B33 #5D9733
square
#338F97 #6D3397 #973B33 #5D9733
split-complementary
#338F97 #97335D #976D33
monochromatic
#14383C #246469 #338F97 #47B7C1 #74C9D0

Accessibility & contrast

On white

3.81
#338F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#338F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F97
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F97#FFFFFF#000000##000000
##338F971.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#848998
Deuteranopia (green-blind)
#757E97
Tritanopia (blue-blind)
#009591
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338f97;
/* rgb */ color: rgb(51, 143, 151);
/* oklch */ color: oklch(60.0% 0.085 203.3);
Tailwind
colors: {
  custom: {
    50: '#78b0b5',
    500: '#338f97',
    950: '#000000',
  },
}
SCSS
$custom: #338f97;
$custom-light: #78b0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#338f97",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 151
  },
  "hsl": {
    "h": 184.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.08549,
    "h": 203.3
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338F97

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

Preview Lab → · Contrast checker → · Palette generator →

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