#337879#337879

#337879 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.069 H 196.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337879
RGBrgb(51, 120, 121)
HSLhsl(181, 41%, 34%)
HSVhsv(181, 58%, 47%)
CMYKcmyk(57.9%, 0.8%, 0%, 52.5%)
CIE-LABlab(46.33, -21.15, -7.11)
CIE-LCHlch(46.33, 22.32, 198.57°)
OKLaboklab(52.94% -0.0661 -0.0197)
OKLCHoklch(52.94% 0.069 196.6)
XYZxyz(11.5314, 15.5161, 20.4727)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337879 #793433
analogous
#337957 #337879 #335579
triadic
#337879 #793378 #787933
tetradic
#337879 #573379 #793433 #557933
square
#337879 #573379 #793433 #557933
split-complementary
#337879 #793355 #795733
monochromatic
#0F2323 #214D4E #337879 #45A3A4 #67BEBF

Accessibility & contrast

On white

5.12
#337879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337879
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337879#FFFFFF#000000##FFFFFF
##3378791.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707379
Deuteranopia (green-blind)
#656A7A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337879;
/* rgb */ color: rgb(51, 120, 121);
/* oklch */ color: oklch(52.9% 0.069 196.6);
Tailwind
colors: {
  custom: {
    50: '#739f9f',
    500: '#337879',
    950: '#000000',
  },
}
SCSS
$custom: #337879;
$custom-light: #739f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#337879",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.857,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.06896,
    "h": 196.6
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#337879
secondary
#A76261
accent
#5957D1
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #337879

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

Preview Lab → · Contrast checker → · Palette generator →

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