#338878#338878

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

Color values

HEX#338878
RGBrgb(51, 136, 120)
HSLhsl(169, 45%, 37%)
HSVhsv(169, 63%, 53%)
CMYKcmyk(62.5%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.46, -29.52, 1.03)
CIE-LCHlch(51.46, 29.54, 177.99°)
OKLaboklab(57.08% -0.0851 0.0023)
OKLCHoklch(57.08% 0.085 178.5)
XYZxyz(13.5580, 19.6668, 20.8472)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338878 #883343
analogous
#33884E #338878 #336E88
triadic
#338878 #783388 #887833
tetradic
#338878 #4E3388 #883343 #6E8833
square
#338878 #4E3388 #883343 #6E8833
split-complementary
#338878 #88336E #884E33
monochromatic
#122F29 #225B51 #338878 #44B59F #6DC8B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338878#FFFFFF#000000##000000
##3388781.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)
#838077
Deuteranopia (green-blind)
#767779
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338878;
/* rgb */ color: rgb(51, 136, 120);
/* oklch */ color: oklch(57.1% 0.085 178.5);
Tailwind
colors: {
  custom: {
    50: '#75ab9e',
    500: '#338878',
    950: '#000000',
  },
}
SCSS
$custom: #338878;
$custom-light: #75ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#338878",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 168.706,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.08516,
    "h": 178.5
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#338878
secondary
#B06774
accent
#536BD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338878

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

Preview Lab → · Contrast checker → · Palette generator →

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