#338780#338780

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

Color values

HEX#338780
RGBrgb(51, 135, 128)
HSLhsl(175, 45%, 36%)
HSVhsv(175, 62%, 53%)
CMYKcmyk(62.2%, 0%, 5.2%, 47.1%)
CIE-LABlab(51.37, -26.81, -3.76)
CIE-LCHlch(51.37, 27.07, 187.97°)
OKLaboklab(57.09% -0.0802 -0.0106)
OKLCHoklch(57.09% 0.081 187.5)
XYZxyz(13.9238, 19.5888, 23.4651)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338780 #87333A
analogous
#338756 #338780 #336487
triadic
#338780 #803387 #878033
tetradic
#338780 #563387 #87333A #648733
square
#338780 #563387 #87333A #648733
split-complementary
#338780 #873364 #875633
monochromatic
#112E2C #225B56 #338780 #44B3AA #6DC8C0

Accessibility & contrast

On white

4.27
#338780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#338780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338780
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338780#FFFFFF#000000##000000
##3387801.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808080
Deuteranopia (green-blind)
#737681
Tritanopia (blue-blind)
#008A85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338780;
/* rgb */ color: rgb(51, 135, 128);
/* oklch */ color: oklch(57.1% 0.081 187.5);
Tailwind
colors: {
  custom: {
    50: '#75aaa4',
    500: '#338780',
    950: '#000000',
  },
}
SCSS
$custom: #338780;
$custom-light: #75aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#338780",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 128
  },
  "hsl": {
    "h": 175,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.08086,
    "h": 187.5
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#338780
secondary
#B0666C
accent
#535ED5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338780

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

Preview Lab → · Contrast checker → · Palette generator →

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