#338668#338668

#338668 is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.1% C 0.093 H 166.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338668
RGBrgb(51, 134, 104)
HSLhsl(158, 45%, 36%)
HSVhsv(158, 62%, 53%)
CMYKcmyk(61.9%, 0%, 22.4%, 47.5%)
CIE-LABlab(50.40, -32.68, 8.80)
CIE-LCHlch(50.40, 33.85, 164.93°)
OKLaboklab(56.08% -0.0907 0.0225)
OKLCHoklch(56.08% 0.093 166)
XYZxyz(12.3878, 18.7522, 16.0607)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338668 #863351
analogous
#33863F #338668 #337B86
triadic
#338668 #683386 #866833
tetradic
#338668 #3F3386 #863351 #7B8633
square
#338668 #3F3386 #863351 #7B8633
split-complementary
#338668 #86337B #863F33
monochromatic
#112D23 #225A46 #338668 #44B28A #6CC7A6

Accessibility & contrast

On white

4.42
#338668 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#338668 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338668
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338668#FFFFFF#000000##000000
##3386681.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837D66
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#00867E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338668;
/* rgb */ color: rgb(51, 134, 104);
/* oklch */ color: oklch(56.1% 0.093 166.0);
Tailwind
colors: {
  custom: {
    50: '#74aa93',
    500: '#338668',
    950: '#000000',
  },
}
SCSS
$custom: #338668;
$custom-light: #74aa93;
$custom-dark: #000000;
JSON
{
  "hex": "#338668",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 104
  },
  "hsl": {
    "h": 158.313,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.09349,
    "h": 166
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#338668
secondary
#AF6680
accent
#5382D5
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338668

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

Preview Lab → · Contrast checker → · Palette generator →

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