#338776#338776

#338776 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.8% C 0.085 H 177.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#338776
RGBrgb(51, 135, 118)
HSLhsl(168, 45%, 36%)
HSVhsv(168, 62%, 53%)
CMYKcmyk(62.2%, 0%, 12.6%, 47.1%)
CIE-LABlab(51.08, -29.57, 1.65)
CIE-LCHlch(51.08, 29.62, 176.81°)
OKLaboklab(56.76% -0.085 0.0039)
OKLCHoklch(56.76% 0.085 177.4)
XYZxyz(13.2977, 19.3384, 20.1679)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338776 #873344
analogous
#33874C #338776 #336E87
triadic
#338776 #763387 #877633
tetradic
#338776 #4C3387 #873344 #6E8733
square
#338776 #4C3387 #873344 #6E8733
split-complementary
#338776 #87336E #874C33
monochromatic
#112E28 #225B4F #338776 #44B39D #6DC8B5

Accessibility & contrast

On white

4.31
#338776 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#338776 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338776
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338776#FFFFFF#000000##000000
##3387761.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338776;
/* rgb */ color: rgb(51, 135, 118);
/* oklch */ color: oklch(56.8% 0.085 177.4);
Tailwind
colors: {
  custom: {
    50: '#74aa9d',
    500: '#338776',
    950: '#000000',
  },
}
SCSS
$custom: #338776;
$custom-light: #74aa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#338776",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 118
  },
  "hsl": {
    "h": 167.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.08505,
    "h": 177.4
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#338776
secondary
#B06675
accent
#536DD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338776

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

Preview Lab → · Contrast checker → · Palette generator →

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