#338C99#338C99

#338C99 is a mid, moderate teal. Relative luminance 0.218; OKLCH L 59.3% C 0.085 H 208.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#338C99
RGBrgb(51, 140, 153)
HSLhsl(188, 50%, 40%)
HSVhsv(188, 67%, 60%)
CMYKcmyk(66.7%, 8.5%, 0%, 40%)
CIE-LABlab(53.77, -21.86, -14.67)
CIE-LCHlch(53.77, 26.33, 213.87°)
OKLaboklab(59.3% -0.0744 -0.0407)
OKLCHoklch(59.3% 0.085 208.7)
XYZxyz(16.4907, 21.7581, 33.4615)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C99 #994033
analogous
#339973 #338C99 #335999
triadic
#338C99 #99338C #8C9933
tetradic
#338C99 #733399 #994033 #599933
square
#338C99 #733399 #994033 #599933
split-complementary
#338C99 #993359 #997333
monochromatic
#14383D #24626B #338C99 #47B2C2 #75C5D1

Accessibility & contrast

On white

3.92
#338C99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#338C99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C99
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C99#FFFFFF#000000##000000
##338C991.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80879A
Deuteranopia (green-blind)
#717C99
Tritanopia (blue-blind)
#009290
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338c99;
/* rgb */ color: rgb(51, 140, 153);
/* oklch */ color: oklch(59.3% 0.085 208.7);
Tailwind
colors: {
  custom: {
    50: '#78aeb7',
    500: '#338c99',
    950: '#000000',
  },
}
SCSS
$custom: #338c99;
$custom-light: #78aeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#338c99",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 153
  },
  "hsl": {
    "h": 187.647,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.08482,
    "h": 208.7
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#338C99
secondary
#B9786E
accent
#604EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338C99

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

Preview Lab → · Contrast checker → · Palette generator →

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