#338874#338874

#338874 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.0% C 0.087 H 174.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#338874
RGBrgb(51, 136, 116)
HSLhsl(166, 45%, 37%)
HSVhsv(166, 63%, 53%)
CMYKcmyk(62.5%, 0%, 14.7%, 46.7%)
CIE-LABlab(51.35, -30.59, 3.20)
CIE-LCHlch(51.35, 30.75, 174.02°)
OKLaboklab(56.96% -0.0871 0.008)
OKLCHoklch(56.96% 0.087 174.7)
XYZxyz(13.3203, 19.5717, 19.5953)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338874 #883347
analogous
#338849 #338874 #337288
triadic
#338874 #743388 #887433
tetradic
#338874 #493388 #883347 #728833
square
#338874 #493388 #883347 #728833
split-complementary
#338874 #883372 #884933
monochromatic
#122F28 #225B4E #338874 #44B59A #6DC8B3

Accessibility & contrast

On white

4.27
#338874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#338874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338874
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338874#FFFFFF#000000##000000
##3388741.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838073
Deuteranopia (green-blind)
#777775
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338874;
/* rgb */ color: rgb(51, 136, 116);
/* oklch */ color: oklch(57.0% 0.087 174.7);
Tailwind
colors: {
  custom: {
    50: '#74ab9c',
    500: '#338874',
    950: '#000000',
  },
}
SCSS
$custom: #338874;
$custom-light: #74ab9c;
$custom-dark: #000000;
JSON
{
  "hex": "#338874",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 116
  },
  "hsl": {
    "h": 165.882,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.08745,
    "h": 174.7
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#338874
secondary
#B06778
accent
#5371D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338874

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

Preview Lab → · Contrast checker → · Palette generator →

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