#338982#338982

#338982 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.7% C 0.082 H 187.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#338982
RGBrgb(51, 137, 130)
HSLhsl(175, 46%, 37%)
HSVhsv(175, 63%, 54%)
CMYKcmyk(62.8%, 0%, 5.1%, 46.3%)
CIE-LABlab(52.07, -27.23, -3.89)
CIE-LCHlch(52.07, 27.51, 188.12°)
OKLaboklab(57.67% -0.0815 -0.0109)
OKLCHoklch(57.67% 0.082 187.6)
XYZxyz(14.3384, 20.2053, 24.2591)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338982 #89333A
analogous
#338957 #338982 #336589
triadic
#338982 #823389 #898233
tetradic
#338982 #573389 #89333A #658933
square
#338982 #573389 #89333A #658933
split-complementary
#338982 #893365 #895733
monochromatic
#12302D #225C58 #338982 #44B6AC #6EC9C1

Accessibility & contrast

On white

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

On black

5.04
#338982 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338982
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338982#FFFFFF#000000##000000
##3389821.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#828282
Deuteranopia (green-blind)
#757883
Tritanopia (blue-blind)
#008C87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338982;
/* rgb */ color: rgb(51, 137, 130);
/* oklch */ color: oklch(57.7% 0.082 187.6);
Tailwind
colors: {
  custom: {
    50: '#75aca6',
    500: '#338982',
    950: '#000000',
  },
}
SCSS
$custom: #338982;
$custom-light: #75aca6;
$custom-dark: #000000;
JSON
{
  "hex": "#338982",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 130
  },
  "hsl": {
    "h": 175.116,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.0822,
    "h": 187.6
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#338982
secondary
#B1676D
accent
#525DD5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338982

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

Preview Lab → · Contrast checker → · Palette generator →

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