#338986#338986

#338986 is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.8% C 0.081 H 191.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#338986
RGBrgb(51, 137, 134)
HSLhsl(178, 46%, 37%)
HSVhsv(178, 63%, 54%)
CMYKcmyk(62.8%, 0%, 2.2%, 46.3%)
CIE-LABlab(52.19, -26.08, -6.03)
CIE-LCHlch(52.19, 26.76, 193.02°)
OKLaboklab(57.81% -0.0796 -0.0168)
OKLCHoklch(57.81% 0.081 191.9)
XYZxyz(14.6121, 20.3148, 25.7007)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338986 #893336
analogous
#33895B #338986 #336189
triadic
#338986 #863389 #898633
tetradic
#338986 #5B3389 #893336 #618933
square
#338986 #5B3389 #893336 #618933
split-complementary
#338986 #893361 #895B33
monochromatic
#12302F #225C5A #338986 #44B6B2 #6EC9C6

Accessibility & contrast

On white

4.15
#338986 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#338986 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338986
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338986#FFFFFF#000000##000000
##3389861.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818286
Deuteranopia (green-blind)
#747887
Tritanopia (blue-blind)
#008D88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338986;
/* rgb */ color: rgb(51, 137, 134);
/* oklch */ color: oklch(57.8% 0.081 191.9);
Tailwind
colors: {
  custom: {
    50: '#76aca9',
    500: '#338986',
    950: '#000000',
  },
}
SCSS
$custom: #338986;
$custom-light: #76aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#338986",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 134
  },
  "hsl": {
    "h": 177.907,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.08135,
    "h": 191.9
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#338986
secondary
#B1676A
accent
#5257D5
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338986

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

Preview Lab → · Contrast checker → · Palette generator →

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