#337868#337868

#337868 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.4% C 0.074 H 175.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#337868
RGBrgb(51, 120, 104)
HSLhsl(166, 40%, 34%)
HSVhsv(166, 58%, 47%)
CMYKcmyk(57.5%, 0%, 13.3%, 52.9%)
CIE-LABlab(45.82, -25.95, 2.25)
CIE-LCHlch(45.82, 26.04, 175.04°)
OKLaboklab(52.35% -0.0743 0.0056)
OKLCHoklch(52.35% 0.074 175.7)
XYZxyz(10.5793, 15.1352, 15.4579)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337868 #783343
analogous
#337845 #337868 #336578
triadic
#337868 #683378 #786833
tetradic
#337868 #453378 #783343 #657833
square
#337868 #453378 #783343 #657833
split-complementary
#337868 #783365 #784533
monochromatic
#0E221E #214D43 #337868 #45A38D #67BEAA

Accessibility & contrast

On white

5.21
#337868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#337868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337868
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337868#FFFFFF#000000##FFFFFF
##3378681.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747167
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#087973
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337868;
/* rgb */ color: rgb(51, 120, 104);
/* oklch */ color: oklch(52.4% 0.074 175.7);
Tailwind
colors: {
  custom: {
    50: '#719f93',
    500: '#337868',
    950: '#000000',
  },
}
SCSS
$custom: #337868;
$custom-light: #719f93;
$custom-dark: #000000;
JSON
{
  "hex": "#337868",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 104
  },
  "hsl": {
    "h": 166.087,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.07448,
    "h": 175.7
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#337868
secondary
#A66071
accent
#5874D0
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #337868

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

Preview Lab → · Contrast checker → · Palette generator →

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