#338877#338877

#338877 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.086 H 177.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#338877
RGBrgb(51, 136, 119)
HSLhsl(168, 45%, 37%)
HSVhsv(168, 63%, 53%)
CMYKcmyk(62.5%, 0%, 12.5%, 46.7%)
CIE-LABlab(51.43, -29.79, 1.58)
CIE-LCHlch(51.43, 29.83, 176.97°)
OKLaboklab(57.05% -0.0856 0.0037)
OKLCHoklch(57.05% 0.086 177.5)
XYZxyz(13.4976, 19.6426, 20.5293)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338877 #883344
analogous
#33884D #338877 #336F88
triadic
#338877 #773388 #887733
tetradic
#338877 #4D3388 #883344 #6F8833
square
#338877 #4D3388 #883344 #6F8833
split-complementary
#338877 #88336F #884D33
monochromatic
#122F29 #225B50 #338877 #44B59E #6DC8B6

Accessibility & contrast

On white

4.26
#338877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#338877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338877
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338877#FFFFFF#000000##000000
##3388771.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838076
Deuteranopia (green-blind)
#767778
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338877;
/* rgb */ color: rgb(51, 136, 119);
/* oklch */ color: oklch(57.1% 0.086 177.5);
Tailwind
colors: {
  custom: {
    50: '#75ab9e',
    500: '#338877',
    950: '#000000',
  },
}
SCSS
$custom: #338877;
$custom-light: #75ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#338877",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 119
  },
  "hsl": {
    "h": 168,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.08569,
    "h": 177.5
  },
  "luminance": 0.19644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338877

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

Preview Lab → · Contrast checker → · Palette generator →

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