#309787#309787

#309787 is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.4% C 0.096 H 180.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#309787
RGBrgb(48, 151, 135)
HSLhsl(171, 52%, 39%)
HSVhsv(171, 68%, 59%)
CMYKcmyk(68.2%, 0%, 10.6%, 40.8%)
CIE-LABlab(56.59, -33.10, -0.13)
CIE-LCHlch(56.59, 33.10, 180.23°)
OKLaboklab(61.38% -0.096 -0.0009)
OKLCHoklch(61.38% 0.096 180.5)
XYZxyz(16.6566, 24.5090, 26.7698)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309787 #973040
analogous
#309754 #309787 #307497
triadic
#309787 #873097 #978730
tetradic
#309787 #543097 #973040 #749730
square
#309787 #543097 #973040 #749730
split-complementary
#309787 #973074 #975430
monochromatic
#123A34 #21695D #309787 #41C3AF #70D2C2

Accessibility & contrast

On white

3.56
#309787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#309787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309787
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309787#FFFFFF#000000##000000
##3097871.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E86
Deuteranopia (green-blind)
#828388
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309787;
/* rgb */ color: rgb(48, 151, 135);
/* oklch */ color: oklch(61.4% 0.096 180.5);
Tailwind
colors: {
  custom: {
    50: '#76b6a9',
    500: '#309787',
    950: '#000000',
  },
}
SCSS
$custom: #309787;
$custom-light: #76b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#309787",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 135
  },
  "hsl": {
    "h": 170.68,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.09604,
    "h": 180.5
  },
  "luminance": 0.24511
}

Semantic roles & 50–950 ramp

primary
#309787
secondary
#B96A76
accent
#4D63DB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #309787

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

Preview Lab → · Contrast checker → · Palette generator →

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