#338777#338777

#338777 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.085 H 178.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#338777
RGBrgb(51, 135, 119)
HSLhsl(169, 45%, 36%)
HSVhsv(169, 62%, 53%)
CMYKcmyk(62.2%, 0%, 11.9%, 47.1%)
CIE-LABlab(51.11, -29.31, 1.11)
CIE-LCHlch(51.11, 29.33, 177.84°)
OKLaboklab(56.79% -0.0845 0.0025)
OKLCHoklch(56.79% 0.085 178.3)
XYZxyz(13.3574, 19.3623, 20.4825)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338777 #873343
analogous
#33874D #338777 #336D87
triadic
#338777 #773387 #877733
tetradic
#338777 #4D3387 #873343 #6D8733
square
#338777 #4D3387 #873343 #6D8733
split-complementary
#338777 #87336D #874D33
monochromatic
#112E29 #225B50 #338777 #44B39E #6DC8B6

Accessibility & contrast

On white

4.31
#338777 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#338777 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338777
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338777#FFFFFF#000000##000000
##3387771.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F76
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338777;
/* rgb */ color: rgb(51, 135, 119);
/* oklch */ color: oklch(56.8% 0.085 178.3);
Tailwind
colors: {
  custom: {
    50: '#74aa9e',
    500: '#338777',
    950: '#000000',
  },
}
SCSS
$custom: #338777;
$custom-light: #74aa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#338777",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 119
  },
  "hsl": {
    "h": 168.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.08452,
    "h": 178.3
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#338777
secondary
#B06674
accent
#536CD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338777

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

Preview Lab → · Contrast checker → · Palette generator →

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