#338A7E#338A7E

#338A7E is a mid, moderate teal. Relative luminance 0.204; OKLCH L 57.8% C 0.085 H 182.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#338A7E
RGBrgb(51, 138, 126)
HSLhsl(172, 46%, 37%)
HSVhsv(172, 63%, 54%)
CMYKcmyk(63%, 0%, 8.7%, 45.9%)
CIE-LABlab(52.27, -28.85, -1.27)
CIE-LCHlch(52.27, 28.88, 182.51°)
OKLaboklab(57.8% -0.0845 -0.0039)
OKLCHoklch(57.8% 0.085 182.6)
XYZxyz(14.2179, 20.3856, 22.9201)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A7E #8A333F
analogous
#338A53 #338A7E #336B8A
triadic
#338A7E #7E338A #8A7E33
tetradic
#338A7E #53338A #8A333F #6B8A33
square
#338A7E #53338A #8A333F #6B8A33
split-complementary
#338A7E #8A336B #8A5333
monochromatic
#12312C #225D55 #338A7E #44B7A7 #6EC9BD

Accessibility & contrast

On white

4.14
#338A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#338A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A7E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A7E#FFFFFF#000000##000000
##338A7E1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827E
Deuteranopia (green-blind)
#77797F
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338a7e;
/* rgb */ color: rgb(51, 138, 126);
/* oklch */ color: oklch(57.8% 0.085 182.6);
Tailwind
colors: {
  custom: {
    50: '#75aca3',
    500: '#338a7e',
    950: '#000000',
  },
}
SCSS
$custom: #338a7e;
$custom-light: #75aca3;
$custom-dark: #000000;
JSON
{
  "hex": "#338a7e",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 171.724,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.08459,
    "h": 182.6
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#338A7E
secondary
#B16772
accent
#5264D6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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