#308178#308178

#308178 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.079 H 185.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#308178
RGBrgb(48, 129, 120)
HSLhsl(173, 46%, 35%)
HSVhsv(173, 63%, 51%)
CMYKcmyk(62.8%, 0%, 7%, 49.4%)
CIE-LABlab(49.11, -26.66, -2.41)
CIE-LCHlch(49.11, 26.77, 185.17°)
OKLaboklab(55.15% -0.0789 -0.0069)
OKLCHoklch(55.15% 0.079 185)
XYZxyz(12.4578, 17.6837, 20.5224)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308178 #813039
analogous
#30814F #308178 #306281
triadic
#308178 #783081 #817830
tetradic
#308178 #4F3081 #813039 #628130
square
#308178 #4F3081 #813039 #628130
split-complementary
#308178 #813062 #814F30
monochromatic
#0F2825 #1F544F #308178 #41AEA1 #66C6BB

Accessibility & contrast

On white

4.63
#308178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#308178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308178
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308178#FFFFFF#000000##FFFFFF
##3081781.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A78
Deuteranopia (green-blind)
#6E7179
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308178;
/* rgb */ color: rgb(48, 129, 120);
/* oklch */ color: oklch(55.1% 0.079 185.0);
Tailwind
colors: {
  custom: {
    50: '#72a69e',
    500: '#308178',
    950: '#000000',
  },
}
SCSS
$custom: #308178;
$custom-light: #72a69e;
$custom-dark: #000000;
JSON
{
  "hex": "#308178",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 173.333,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.07918,
    "h": 185
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#308178
secondary
#AD6068
accent
#5261D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #308178

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

Preview Lab → · Contrast checker → · Palette generator →

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