#338987#338987

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

Color values

HEX#338987
RGBrgb(51, 137, 135)
HSLhsl(179, 46%, 37%)
HSVhsv(179, 63%, 54%)
CMYKcmyk(62.8%, 0%, 1.5%, 46.3%)
CIE-LABlab(52.22, -25.78, -6.57)
CIE-LCHlch(52.22, 26.61, 194.29°)
OKLaboklab(57.85% -0.0791 -0.0182)
OKLCHoklch(57.85% 0.081 193)
XYZxyz(14.6821, 20.3428, 26.0698)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338987 #893335
analogous
#33895C #338987 #336089
triadic
#338987 #873389 #898733
tetradic
#338987 #5C3389 #893335 #608933
square
#338987 #5C3389 #893335 #608933
split-complementary
#338987 #893360 #895C33
monochromatic
#12302F #225C5B #338987 #44B6B3 #6EC9C7

Accessibility & contrast

On white

4.14
#338987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#338987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338987
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338987#FFFFFF#000000##000000
##3389871.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#818287
Deuteranopia (green-blind)
#737888
Tritanopia (blue-blind)
#008D88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338987;
/* rgb */ color: rgb(51, 137, 135);
/* oklch */ color: oklch(57.9% 0.081 193.0);
Tailwind
colors: {
  custom: {
    50: '#76aca9',
    500: '#338987',
    950: '#000000',
  },
}
SCSS
$custom: #338987;
$custom-light: #76aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#338987",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 135
  },
  "hsl": {
    "h": 178.605,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.08122,
    "h": 193
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#338987
secondary
#B16769
accent
#5255D5
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338987

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

Preview Lab → · Contrast checker → · Palette generator →

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