#338673#338673

#338673 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.086 H 175.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#338673
RGBrgb(51, 134, 115)
HSLhsl(166, 45%, 36%)
HSVhsv(166, 62%, 53%)
CMYKcmyk(61.9%, 0%, 14.2%, 47.5%)
CIE-LABlab(50.68, -29.89, 2.81)
CIE-LCHlch(50.68, 30.02, 174.63°)
OKLaboklab(56.4% -0.0853 0.007)
OKLCHoklch(56.4% 0.086 175.3)
XYZxyz(12.9834, 18.9905, 19.1976)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338673 #863346
analogous
#33864A #338673 #337086
triadic
#338673 #733386 #867333
tetradic
#338673 #4A3386 #863346 #708633
square
#338673 #4A3386 #863346 #708633
split-complementary
#338673 #863370 #864A33
monochromatic
#112D27 #225A4D #338673 #44B299 #6CC7B2

Accessibility & contrast

On white

4.38
#338673 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#338673 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338673
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338673#FFFFFF#000000##000000
##3386731.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817E72
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338673;
/* rgb */ color: rgb(51, 134, 115);
/* oklch */ color: oklch(56.4% 0.086 175.3);
Tailwind
colors: {
  custom: {
    50: '#74aa9b',
    500: '#338673',
    950: '#000000',
  },
}
SCSS
$custom: #338673;
$custom-light: #74aa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#338673",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 115
  },
  "hsl": {
    "h": 166.265,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.08557,
    "h": 175.3
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#338673
secondary
#AF6677
accent
#5371D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338673

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

Preview Lab → · Contrast checker → · Palette generator →

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