#338A99#338A99

#338A99 is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.8% C 0.084 H 211.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#338A99
RGBrgb(51, 138, 153)
HSLhsl(189, 50%, 40%)
HSVhsv(189, 67%, 60%)
CMYKcmyk(66.7%, 9.8%, 0%, 40%)
CIE-LABlab(53.14, -20.81, -15.62)
CIE-LCHlch(53.14, 26.02, 216.90°)
OKLaboklab(58.8% -0.0722 -0.0434)
OKLCHoklch(58.8% 0.084 211)
XYZxyz(16.2011, 21.1789, 33.3649)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A99 #994233
analogous
#339975 #338A99 #335799
triadic
#338A99 #99338A #8A9933
tetradic
#338A99 #753399 #994233 #579933
square
#338A99 #753399 #994233 #579933
split-complementary
#338A99 #993357 #997533
monochromatic
#14373D #24616B #338A99 #47B0C2 #75C4D1

Accessibility & contrast

On white

4.01
#338A99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#338A99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A99
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A99#FFFFFF#000000##000000
##338A991.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E859A
Deuteranopia (green-blind)
#6F7A99
Tritanopia (blue-blind)
#00908F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338a99;
/* rgb */ color: rgb(51, 138, 153);
/* oklch */ color: oklch(58.8% 0.084 211.0);
Tailwind
colors: {
  custom: {
    50: '#78acb7',
    500: '#338a99',
    950: '#000000',
  },
}
SCSS
$custom: #338a99;
$custom-light: #78acb7;
$custom-dark: #000000;
JSON
{
  "hex": "#338a99",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 153
  },
  "hsl": {
    "h": 188.824,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.08426,
    "h": 211
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338A99

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

Preview Lab → · Contrast checker → · Palette generator →

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