#338E99#338E99

#338E99 is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.8% C 0.086 H 206.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#338E99
RGBrgb(51, 142, 153)
HSLhsl(186, 50%, 40%)
HSVhsv(186, 67%, 60%)
CMYKcmyk(66.7%, 7.2%, 0%, 40%)
CIE-LABlab(54.39, -22.90, -13.73)
CIE-LCHlch(54.39, 26.70, 210.94°)
OKLaboklab(59.8% -0.0766 -0.0381)
OKLCHoklch(59.8% 0.086 206.4)
XYZxyz(16.7856, 22.3479, 33.5598)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E99 #993E33
analogous
#339971 #338E99 #335B99
triadic
#338E99 #99338E #8E9933
tetradic
#338E99 #713399 #993E33 #5B9933
square
#338E99 #713399 #993E33 #5B9933
split-complementary
#338E99 #99335B #997133
monochromatic
#14393D #24636B #338E99 #47B5C2 #75C7D1

Accessibility & contrast

On white

3.84
#338E99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#338E99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E99
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E99#FFFFFF#000000##000000
##338E991.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82889A
Deuteranopia (green-blind)
#737D99
Tritanopia (blue-blind)
#009491
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338e99;
/* rgb */ color: rgb(51, 142, 153);
/* oklch */ color: oklch(59.8% 0.086 206.4);
Tailwind
colors: {
  custom: {
    50: '#78afb7',
    500: '#338e99',
    950: '#000000',
  },
}
SCSS
$custom: #338e99;
$custom-light: #78afb7;
$custom-dark: #000000;
JSON
{
  "hex": "#338e99",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 153
  },
  "hsl": {
    "h": 186.471,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.08551,
    "h": 206.4
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#338E99
secondary
#B9776E
accent
#5D4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338E99

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

Preview Lab → · Contrast checker → · Palette generator →

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