#338793#338793

#338793 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.8% C 0.081 H 208.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#338793
RGBrgb(51, 135, 147)
HSLhsl(188, 48%, 39%)
HSVhsv(188, 65%, 58%)
CMYKcmyk(65.3%, 8.2%, 0%, 42.4%)
CIE-LABlab(51.99, -21.11, -13.89)
CIE-LCHlch(51.99, 25.27, 213.34°)
OKLaboklab(57.8% -0.0715 -0.0385)
OKLCHoklch(57.8% 0.081 208.3)
XYZxyz(15.2935, 20.1367, 30.6789)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338793 #933F33
analogous
#33936F #338793 #335793
triadic
#338793 #933387 #879333
tetradic
#338793 #6F3393 #933F33 #579333
square
#338793 #6F3393 #933F33 #579333
split-complementary
#338793 #933357 #936F33
monochromatic
#133438 #235D66 #338793 #45AFBE #72C3CE

Accessibility & contrast

On white

4.18
#338793 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#338793 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338793
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338793#FFFFFF#000000##000000
##3387931.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8294
Deuteranopia (green-blind)
#6D7793
Tritanopia (blue-blind)
#008D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338793;
/* rgb */ color: rgb(51, 135, 147);
/* oklch */ color: oklch(57.8% 0.081 208.3);
Tailwind
colors: {
  custom: {
    50: '#77aab2',
    500: '#338793',
    950: '#000000',
  },
}
SCSS
$custom: #338793;
$custom-light: #77aab2;
$custom-dark: #000000;
JSON
{
  "hex": "#338793",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 147
  },
  "hsl": {
    "h": 187.5,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.08126,
    "h": 208.3
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#338793
secondary
#B6756C
accent
#6150D8
background
#F7FAFA
surface
#EEF4F5
border
#C9CECF
text
#091011
muted
#7B7F80

Preview Lab

Preview with #338793

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

Preview Lab → · Contrast checker → · Palette generator →

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