#338F96#338F96

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

Color values

HEX#338F96
RGBrgb(51, 143, 150)
HSLhsl(184, 49%, 39%)
HSVhsv(184, 66%, 59%)
CMYKcmyk(66%, 4.7%, 0%, 41.2%)
CIE-LABlab(54.60, -24.34, -11.68)
CIE-LCHlch(54.60, 27.00, 205.64°)
OKLaboklab(59.94% -0.079 -0.0324)
OKLCHoklch(59.94% 0.085 202.3)
XYZxyz(16.6903, 22.5489, 32.3210)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F96 #963A33
analogous
#33966B #338F96 #335E96
triadic
#338F96 #96338F #8F9633
tetradic
#338F96 #6B3396 #963A33 #5E9633
square
#338F96 #6B3396 #963A33 #5E9633
split-complementary
#338F96 #96335E #966B33
monochromatic
#14383B #236368 #338F96 #46B7C0 #74C9D0

Accessibility & contrast

On white

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

On black

5.51
#338F96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F96
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F96#FFFFFF#000000##000000
##338F961.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#848997
Deuteranopia (green-blind)
#757E96
Tritanopia (blue-blind)
#009491
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338f96;
/* rgb */ color: rgb(51, 143, 150);
/* oklch */ color: oklch(59.9% 0.085 202.3);
Tailwind
colors: {
  custom: {
    50: '#78b0b4',
    500: '#338f96',
    950: '#000000',
  },
}
SCSS
$custom: #338f96;
$custom-light: #78b0b4;
$custom-dark: #000000;
JSON
{
  "hex": "#338f96",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 150
  },
  "hsl": {
    "h": 184.242,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.08533,
    "h": 202.3
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#338F96
secondary
#B8726D
accent
#594FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338F96

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

Preview Lab → · Contrast checker → · Palette generator →

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