#338579#338579

#338579 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.3% C 0.081 H 182.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#338579
RGBrgb(51, 133, 121)
HSLhsl(171, 45%, 36%)
HSVhsv(171, 62%, 52%)
CMYKcmyk(61.7%, 0%, 9%, 47.8%)
CIE-LABlab(50.52, -27.78, -0.92)
CIE-LCHlch(50.52, 27.80, 181.89°)
OKLaboklab(56.33% -0.0812 -0.0029)
OKLCHoklch(56.33% 0.081 182.1)
XYZxyz(13.2024, 18.8580, 21.0296)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338579 #85333F
analogous
#338550 #338579 #336885
triadic
#338579 #793385 #857933
tetradic
#338579 #503385 #85333F #688533
square
#338579 #503385 #85333F #688533
split-complementary
#338579 #853368 #855033
monochromatic
#112D29 #225951 #338579 #44B1A1 #6CC7B9

Accessibility & contrast

On white

4.40
#338579 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#338579 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338579
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338579#FFFFFF#000000##000000
##3385791.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E79
Deuteranopia (green-blind)
#73747A
Tritanopia (blue-blind)
#008781
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338579;
/* rgb */ color: rgb(51, 133, 121);
/* oklch */ color: oklch(56.3% 0.081 182.1);
Tailwind
colors: {
  custom: {
    50: '#74a99f',
    500: '#338579',
    950: '#000000',
  },
}
SCSS
$custom: #338579;
$custom-light: #74a99f;
$custom-dark: #000000;
JSON
{
  "hex": "#338579",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 121
  },
  "hsl": {
    "h": 171.22,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.08127,
    "h": 182.1
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#338579
secondary
#AE6570
accent
#5466D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338579

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

Preview Lab → · Contrast checker → · Palette generator →

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