#338F91#338F91

#338F91 is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.8% C 0.085 H 197.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#338F91
RGBrgb(51, 143, 145)
HSLhsl(181, 48%, 38%)
HSVhsv(181, 65%, 57%)
CMYKcmyk(64.8%, 1.4%, 0%, 43.1%)
CIE-LABlab(54.44, -25.85, -9.05)
CIE-LCHlch(54.44, 27.39, 199.29°)
OKLaboklab(59.75% -0.0812 -0.0251)
OKLCHoklch(59.75% 0.085 197.2)
XYZxyz(16.2963, 22.3913, 30.2457)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F91 #913533
analogous
#339164 #338F91 #336091
triadic
#338F91 #91338F #8F9133
tetradic
#338F91 #643391 #913533 #609133
square
#338F91 #643391 #913533 #609133
split-complementary
#338F91 #913360 #916433
monochromatic
#133636 #236264 #338F91 #44BBBD #71CBCD

Accessibility & contrast

On white

3.83
#338F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#338F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F91
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F91#FFFFFF#000000##000000
##338F911.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#858891
Deuteranopia (green-blind)
#777E92
Tritanopia (blue-blind)
#00948F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338f91;
/* rgb */ color: rgb(51, 143, 145);
/* oklch */ color: oklch(59.8% 0.085 197.2);
Tailwind
colors: {
  custom: {
    50: '#77b0b1',
    500: '#338f91',
    950: '#000000',
  },
}
SCSS
$custom: #338f91;
$custom-light: #77b0b1;
$custom-dark: #000000;
JSON
{
  "hex": "#338f91",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 145
  },
  "hsl": {
    "h": 181.277,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.08498,
    "h": 197.2
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#338F91
secondary
#B56C6B
accent
#5350D8
background
#F7FAFA
surface
#EEF5F5
border
#C9CFCF
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #338F91

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

Preview Lab → · Contrast checker → · Palette generator →

#338F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva