#338079#338079

#338079 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.0% C 0.076 H 187.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#338079
RGBrgb(51, 128, 121)
HSLhsl(175, 43%, 35%)
HSVhsv(175, 60%, 50%)
CMYKcmyk(60.2%, 0%, 5.5%, 49.8%)
CIE-LABlab(48.91, -25.29, -3.28)
CIE-LCHlch(48.91, 25.50, 187.40°)
OKLaboklab(55.02% -0.0755 -0.0093)
OKLCHoklch(55.02% 0.076 187)
XYZxyz(12.5341, 17.5214, 20.8069)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338079 #80333A
analogous
#338052 #338079 #336180
triadic
#338079 #793380 #807933
tetradic
#338079 #523380 #80333A #618033
square
#338079 #523380 #80333A #618033
split-complementary
#338079 #803361 #805233
monochromatic
#102826 #225450 #338079 #44ACA2 #6AC4BB

Accessibility & contrast

On white

4.66
#338079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#338079 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338079
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338079#FFFFFF#000000##FFFFFF
##3380791.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7979
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338079;
/* rgb */ color: rgb(51, 128, 121);
/* oklch */ color: oklch(55.0% 0.076 187.0);
Tailwind
colors: {
  custom: {
    50: '#74a59f',
    500: '#338079',
    950: '#000000',
  },
}
SCSS
$custom: #338079;
$custom-light: #74a59f;
$custom-dark: #000000;
JSON
{
  "hex": "#338079",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 121
  },
  "hsl": {
    "h": 174.545,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.07603,
    "h": 187
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#338079
secondary
#AB636A
accent
#5560D3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338079

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

Preview Lab → · Contrast checker → · Palette generator →

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