#308787#308787

#308787 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.081 H 195.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#308787
RGBrgb(48, 135, 135)
HSLhsl(180, 48%, 36%)
HSVhsv(180, 64%, 53%)
CMYKcmyk(64.4%, 0%, 0%, 47.1%)
CIE-LABlab(51.50, -25.31, -7.65)
CIE-LCHlch(51.50, 26.44, 196.82°)
OKLaboklab(57.24% -0.0786 -0.0212)
OKLCHoklch(57.24% 0.081 195.1)
XYZxyz(14.2541, 19.7040, 25.9690)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308787 #873030
analogous
#30875B #308787 #305B87
triadic
#308787 #873087 #878730
tetradic
#308787 #5B3087 #873030 #5B8730
square
#308787 #5B3087 #873030 #5B8730
split-complementary
#308787 #87305B #875B30
monochromatic
#102D2D #205A5A #308787 #40B4B4 #68C9C9

Accessibility & contrast

On white

4.25
#308787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#308787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308787
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308787#FFFFFF#000000##000000
##3087871.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8187
Deuteranopia (green-blind)
#717688
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308787;
/* rgb */ color: rgb(48, 135, 135);
/* oklch */ color: oklch(57.2% 0.081 195.1);
Tailwind
colors: {
  custom: {
    50: '#74aaa9',
    500: '#308787',
    950: '#000000',
  },
}
SCSS
$custom: #308787;
$custom-light: #74aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#308787",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57242,
    "c": 0.08139,
    "h": 195.1
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#308787
secondary
#B16262
accent
#5151D7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #308787

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

Preview Lab → · Contrast checker → · Palette generator →

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