#338378#338378

#338378 is a mid, moderate teal. Relative luminance 0.183; OKLCH L 55.8% C 0.080 H 182.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#338378
RGBrgb(51, 131, 120)
HSLhsl(172, 44%, 36%)
HSVhsv(172, 61%, 51%)
CMYKcmyk(61.1%, 0%, 8.4%, 48.6%)
CIE-LABlab(49.85, -27.07, -1.32)
CIE-LCHlch(49.85, 27.10, 182.79°)
OKLaboklab(55.77% -0.0794 -0.004)
OKLCHoklch(55.77% 0.08 182.9)
XYZxyz(12.8702, 18.2912, 20.6179)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338378 #83333E
analogous
#338350 #338378 #336683
triadic
#338378 #783383 #837833
tetradic
#338378 #503383 #83333E #668333
square
#338378 #503383 #83333E #668333
split-complementary
#338378 #833366 #835033
monochromatic
#112B27 #225750 #338378 #44AFA0 #6BC5B9

Accessibility & contrast

On white

4.51
#338378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#338378 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338378
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338378#FFFFFF#000000##000000
##3383781.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7C78
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338378;
/* rgb */ color: rgb(51, 131, 120);
/* oklch */ color: oklch(55.8% 0.080 182.9);
Tailwind
colors: {
  custom: {
    50: '#74a79e',
    500: '#338378',
    950: '#000000',
  },
}
SCSS
$custom: #338378;
$custom-light: #74a79e;
$custom-dark: #000000;
JSON
{
  "hex": "#338378",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 120
  },
  "hsl": {
    "h": 171.75,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.07951,
    "h": 182.9
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#338378
secondary
#AD656F
accent
#5466D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338378

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

Preview Lab → · Contrast checker → · Palette generator →

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