#308779#308779

#308779 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.8% C 0.085 H 180.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#308779
RGBrgb(48, 135, 121)
HSLhsl(170, 48%, 36%)
HSVhsv(170, 64%, 53%)
CMYKcmyk(64.4%, 0%, 10.4%, 47.1%)
CIE-LABlab(51.08, -29.33, -0.11)
CIE-LCHlch(51.08, 29.33, 180.22°)
OKLaboklab(56.76% -0.0852 -0.0008)
OKLCHoklch(56.76% 0.085 180.5)
XYZxyz(13.3325, 19.3354, 21.1149)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308779 #87303E
analogous
#30874D #308779 #306987
triadic
#308779 #793087 #877930
tetradic
#308779 #4D3087 #87303E #698730
square
#308779 #4D3087 #87303E #698730
split-complementary
#308779 #873069 #874D30
monochromatic
#102D28 #205A51 #308779 #40B4A1 #68C9BA

Accessibility & contrast

On white

4.31
#308779 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#308779 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308779
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308779#FFFFFF#000000##000000
##3087791.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F78
Deuteranopia (green-blind)
#74767A
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308779;
/* rgb */ color: rgb(48, 135, 121);
/* oklch */ color: oklch(56.8% 0.085 180.5);
Tailwind
colors: {
  custom: {
    50: '#73aa9f',
    500: '#308779',
    950: '#000000',
  },
}
SCSS
$custom: #308779;
$custom-light: #73aa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#308779",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 121
  },
  "hsl": {
    "h": 170.345,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.08519,
    "h": 180.5
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#308779
secondary
#B1626F
accent
#5166D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #308779

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

Preview Lab → · Contrast checker → · Palette generator →

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