#308C7E#308C7E

#308C7E is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.2% C 0.088 H 181.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#308C7E
RGBrgb(48, 140, 126)
HSLhsl(171, 49%, 37%)
HSVhsv(171, 66%, 55%)
CMYKcmyk(65.7%, 0%, 10%, 45.1%)
CIE-LABlab(52.83, -30.36, -0.46)
CIE-LCHlch(52.83, 30.37, 180.87°)
OKLaboklab(58.23% -0.0884 -0.0017)
OKLCHoklch(58.23% 0.088 181.1)
XYZxyz(14.3611, 20.8893, 23.0098)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C7E #8C303E
analogous
#308C50 #308C7E #306C8C
triadic
#308C7E #7E308C #8C7E30
tetradic
#308C7E #50308C #8C303E #6C8C30
square
#308C7E #50308C #8C303E #6C8C30
split-complementary
#308C7E #8C306C #8C5030
monochromatic
#11312C #205E55 #308C7E #40BAA7 #6ACCBD

Accessibility & contrast

On white

4.06
#308C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#308C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C7E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C7E#FFFFFF#000000##000000
##308C7E1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847D
Deuteranopia (green-blind)
#787A7F
Tritanopia (blue-blind)
#008F88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308c7e;
/* rgb */ color: rgb(48, 140, 126);
/* oklch */ color: oklch(58.2% 0.088 181.1);
Tailwind
colors: {
  custom: {
    50: '#74aea3',
    500: '#308c7e',
    950: '#000000',
  },
}
SCSS
$custom: #308c7e;
$custom-light: #74aea3;
$custom-dark: #000000;
JSON
{
  "hex": "#308c7e",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 126
  },
  "hsl": {
    "h": 170.87,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.08838,
    "h": 181.1
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#308C7E
secondary
#B36470
accent
#4F64D8
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #308C7E

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

Preview Lab → · Contrast checker → · Palette generator →

#308C7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva