#338792#338792

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

Color values

HEX#338792
RGBrgb(51, 135, 146)
HSLhsl(187, 48%, 39%)
HSVhsv(187, 65%, 57%)
CMYKcmyk(65.1%, 7.5%, 0%, 42.7%)
CIE-LABlab(51.96, -21.43, -13.36)
CIE-LCHlch(51.96, 25.25, 211.95°)
OKLaboklab(57.76% -0.072 -0.037)
OKLCHoklch(57.76% 0.081 207.2)
XYZxyz(15.2153, 20.1054, 30.2674)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338792 #923E33
analogous
#33926D #338792 #335792
triadic
#338792 #923387 #879233
tetradic
#338792 #6D3392 #923E33 #579233
square
#338792 #6D3392 #923E33 #579233
split-complementary
#338792 #923357 #926D33
monochromatic
#133337 #235D65 #338792 #44B0BE #72C3CE

Accessibility & contrast

On white

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

On black

5.02
#338792 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338792
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338792#FFFFFF#000000##000000
##3387921.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8293
Deuteranopia (green-blind)
#6E7792
Tritanopia (blue-blind)
#008D8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338792;
/* rgb */ color: rgb(51, 135, 146);
/* oklch */ color: oklch(57.8% 0.081 207.2);
Tailwind
colors: {
  custom: {
    50: '#77aab2',
    500: '#338792',
    950: '#000000',
  },
}
SCSS
$custom: #338792;
$custom-light: #77aab2;
$custom-dark: #000000;
JSON
{
  "hex": "#338792",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 146
  },
  "hsl": {
    "h": 186.947,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.08095,
    "h": 207.2
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#338792
secondary
#B6746B
accent
#6050D8
background
#F7FAFA
surface
#EEF4F5
border
#C9CECF
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338792

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

Preview Lab → · Contrast checker → · Palette generator →

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