#338783#338783

#338783 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.080 H 190.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#338783
RGBrgb(51, 135, 131)
HSLhsl(177, 45%, 36%)
HSVhsv(177, 62%, 53%)
CMYKcmyk(62.2%, 0%, 3%, 47.1%)
CIE-LABlab(51.46, -25.94, -5.37)
CIE-LCHlch(51.46, 26.49, 191.69°)
OKLaboklab(57.19% -0.0787 -0.015)
OKLCHoklch(57.19% 0.08 190.8)
XYZxyz(14.1241, 19.6690, 24.5205)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338783 #873337
analogous
#338759 #338783 #336187
triadic
#338783 #833387 #878333
tetradic
#338783 #593387 #873337 #618733
square
#338783 #593387 #873337 #618733
split-complementary
#338783 #873361 #875933
monochromatic
#112E2D #225B58 #338783 #44B3AE #6DC8C3

Accessibility & contrast

On white

4.26
#338783 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#338783 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338783
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338783#FFFFFF#000000##000000
##3387831.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8083
Deuteranopia (green-blind)
#727784
Tritanopia (blue-blind)
#008B86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338783;
/* rgb */ color: rgb(51, 135, 131);
/* oklch */ color: oklch(57.2% 0.080 190.8);
Tailwind
colors: {
  custom: {
    50: '#75aaa7',
    500: '#338783',
    950: '#000000',
  },
}
SCSS
$custom: #338783;
$custom-light: #75aaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#338783",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 131
  },
  "hsl": {
    "h": 177.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.08016,
    "h": 190.8
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#338783
secondary
#B0666A
accent
#5359D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338783

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

Preview Lab → · Contrast checker → · Palette generator →

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