#338773#338773

#338773 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.087 H 174.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338773
RGBrgb(51, 135, 115)
HSLhsl(166, 45%, 36%)
HSVhsv(166, 62%, 53%)
CMYKcmyk(62.2%, 0%, 14.8%, 47.1%)
CIE-LABlab(51.00, -30.37, 3.28)
CIE-LCHlch(51.00, 30.55, 173.84°)
OKLaboklab(56.66% -0.0864 0.0082)
OKLCHoklch(56.66% 0.087 174.6)
XYZxyz(13.1223, 19.2682, 19.2439)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338773 #873347
analogous
#338749 #338773 #337187
triadic
#338773 #733387 #877333
tetradic
#338773 #493387 #873347 #718733
square
#338773 #493387 #873347 #718733
split-complementary
#338773 #873371 #874933
monochromatic
#112E27 #225B4D #338773 #44B399 #6DC8B2

Accessibility & contrast

On white

4.33
#338773 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#338773 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338773
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338773#FFFFFF#000000##000000
##3387731.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F72
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338773;
/* rgb */ color: rgb(51, 135, 115);
/* oklch */ color: oklch(56.7% 0.087 174.6);
Tailwind
colors: {
  custom: {
    50: '#74aa9b',
    500: '#338773',
    950: '#000000',
  },
}
SCSS
$custom: #338773;
$custom-light: #74aa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#338773",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 115
  },
  "hsl": {
    "h": 165.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.08682,
    "h": 174.6
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#338773
secondary
#B06678
accent
#5372D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338773

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

Preview Lab → · Contrast checker → · Palette generator →

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