#338980#338980

#338980 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.6% C 0.083 H 185.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#338980
RGBrgb(51, 137, 128)
HSLhsl(174, 46%, 37%)
HSVhsv(174, 63%, 54%)
CMYKcmyk(62.8%, 0%, 6.6%, 46.3%)
CIE-LABlab(52.01, -27.80, -2.81)
CIE-LCHlch(52.01, 27.94, 185.78°)
OKLaboklab(57.61% -0.0824 -0.008)
OKLCHoklch(57.61% 0.083 185.6)
XYZxyz(14.2054, 20.1521, 23.5590)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338980 #89333C
analogous
#338955 #338980 #336789
triadic
#338980 #803389 #898033
tetradic
#338980 #553389 #89333C #678933
square
#338980 #553389 #89333C #678933
split-complementary
#338980 #893367 #895533
monochromatic
#12302D #225C56 #338980 #44B6AA #6EC9BF

Accessibility & contrast

On white

4.17
#338980 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#338980 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338980
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338980#FFFFFF#000000##000000
##3389801.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#828280
Deuteranopia (green-blind)
#757881
Tritanopia (blue-blind)
#008C86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338980;
/* rgb */ color: rgb(51, 137, 128);
/* oklch */ color: oklch(57.6% 0.083 185.6);
Tailwind
colors: {
  custom: {
    50: '#75aca4',
    500: '#338980',
    950: '#000000',
  },
}
SCSS
$custom: #338980;
$custom-light: #75aca4;
$custom-dark: #000000;
JSON
{
  "hex": "#338980",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 128
  },
  "hsl": {
    "h": 173.721,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.08281,
    "h": 185.6
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#338980
secondary
#B1676F
accent
#5260D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338980

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

Preview Lab → · Contrast checker → · Palette generator →

#338980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva