#338B99#338B99

#338B99 is a mid, moderate teal. Relative luminance 0.215; OKLCH L 59.0% C 0.085 H 209.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#338B99
RGBrgb(51, 139, 153)
HSLhsl(188, 50%, 40%)
HSVhsv(188, 67%, 60%)
CMYKcmyk(66.7%, 9.2%, 0%, 40%)
CIE-LABlab(53.46, -21.34, -15.15)
CIE-LCHlch(53.46, 26.17, 215.37°)
OKLaboklab(59.05% -0.0733 -0.0421)
OKLCHoklch(59.05% 0.085 209.8)
XYZxyz(16.3452, 21.4672, 33.4130)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B99 #994133
analogous
#339974 #338B99 #335899
triadic
#338B99 #99338B #8B9933
tetradic
#338B99 #743399 #994133 #589933
square
#338B99 #743399 #994133 #589933
split-complementary
#338B99 #993358 #997433
monochromatic
#14383D #24616B #338B99 #47B1C2 #75C5D1

Accessibility & contrast

On white

3.97
#338B99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#338B99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B99
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B99#FFFFFF#000000##000000
##338B991.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F869A
Deuteranopia (green-blind)
#707B99
Tritanopia (blue-blind)
#00918F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338b99;
/* rgb */ color: rgb(51, 139, 153);
/* oklch */ color: oklch(59.0% 0.085 209.8);
Tailwind
colors: {
  custom: {
    50: '#78adb7',
    500: '#338b99',
    950: '#000000',
  },
}
SCSS
$custom: #338b99;
$custom-light: #78adb7;
$custom-dark: #000000;
JSON
{
  "hex": "#338b99",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 153
  },
  "hsl": {
    "h": 188.235,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.08453,
    "h": 209.8
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#338B99
secondary
#B9796E
accent
#614EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338B99

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

Preview Lab → · Contrast checker → · Palette generator →

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