#308797#308797

#308797 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.9% C 0.084 H 212.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308797
RGBrgb(48, 135, 151)
HSLhsl(189, 52%, 39%)
HSVhsv(189, 68%, 59%)
CMYKcmyk(68.2%, 10.6%, 0%, 40.8%)
CIE-LABlab(52.05, -20.35, -16.13)
CIE-LCHlch(52.05, 25.97, 218.41°)
OKLaboklab(57.87% -0.0715 -0.0448)
OKLCHoklch(57.87% 0.084 212.1)
XYZxyz(15.4665, 20.1890, 32.3539)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308797 #974030
analogous
#309774 #308797 #305497
triadic
#308797 #973087 #879730
tetradic
#308797 #743097 #974030 #549730
square
#308797 #743097 #974030 #549730
split-complementary
#308797 #973054 #977430
monochromatic
#12343A #215D69 #308797 #41AFC3 #70C2D2

Accessibility & contrast

On white

4.17
#308797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308797
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308797#FFFFFF#000000##000000
##3087971.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8298
Deuteranopia (green-blind)
#6C7797
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308797;
/* rgb */ color: rgb(48, 135, 151);
/* oklch */ color: oklch(57.9% 0.084 212.1);
Tailwind
colors: {
  custom: {
    50: '#76aab5',
    500: '#308797',
    950: '#000000',
  },
}
SCSS
$custom: #308797;
$custom-light: #76aab5;
$custom-dark: #000000;
JSON
{
  "hex": "#308797",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 189.32,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.08437,
    "h": 212.1
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#308797
secondary
#B9766A
accent
#634DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #308797

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

Preview Lab → · Contrast checker → · Palette generator →

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