#338775#338775

#338775 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.086 H 176.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#338775
RGBrgb(51, 135, 117)
HSLhsl(167, 45%, 36%)
HSVhsv(167, 62%, 53%)
CMYKcmyk(62.2%, 0%, 13.3%, 47.1%)
CIE-LABlab(51.05, -29.84, 2.19)
CIE-LCHlch(51.05, 29.92, 175.80°)
OKLaboklab(56.73% -0.0854 0.0054)
OKLCHoklch(56.73% 0.086 176.4)
XYZxyz(13.2386, 19.3147, 19.8566)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338775 #873345
analogous
#33874B #338775 #336F87
triadic
#338775 #753387 #877533
tetradic
#338775 #4B3387 #873345 #6F8733
square
#338775 #4B3387 #873345 #6F8733
split-complementary
#338775 #87336F #874B33
monochromatic
#112E28 #225B4F #338775 #44B39B #6DC8B4

Accessibility & contrast

On white

4.32
#338775 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#338775 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338775
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338775#FFFFFF#000000##000000
##3387751.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F74
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338775;
/* rgb */ color: rgb(51, 135, 117);
/* oklch */ color: oklch(56.7% 0.086 176.4);
Tailwind
colors: {
  custom: {
    50: '#74aa9c',
    500: '#338775',
    950: '#000000',
  },
}
SCSS
$custom: #338775;
$custom-light: #74aa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#338775",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 117
  },
  "hsl": {
    "h": 167.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56726,
    "c": 0.08562,
    "h": 176.4
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#338775
secondary
#B06676
accent
#536FD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338775

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

Preview Lab → · Contrast checker → · Palette generator →

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