#307F7B#307F7B

#307F7B is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.076 H 190.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#307F7B
RGBrgb(48, 127, 123)
HSLhsl(177, 45%, 34%)
HSVhsv(177, 62%, 50%)
CMYKcmyk(62.2%, 0%, 3.1%, 50.2%)
CIE-LABlab(48.56, -24.79, -5.00)
CIE-LCHlch(48.56, 25.29, 191.39°)
OKLaboklab(54.73% -0.0752 -0.0139)
OKLCHoklch(54.73% 0.076 190.5)
XYZxyz(12.3819, 17.2359, 21.4094)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F7B #7F3034
analogous
#307F54 #307F7B #305C7F
triadic
#307F7B #7B307F #7F7B30
tetradic
#307F7B #54307F #7F3034 #5C7F30
square
#307F7B #54307F #7F3034 #5C7F30
split-complementary
#307F7B #7F305C #7F5430
monochromatic
#0E2625 #1F5350 #307F7B #41ABA6 #65C5C0

Accessibility & contrast

On white

4.72
#307F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#307F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F7B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F7B#FFFFFF#000000##FFFFFF
##307F7B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78797B
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #307f7b;
/* rgb */ color: rgb(48, 127, 123);
/* oklch */ color: oklch(54.7% 0.076 190.5);
Tailwind
colors: {
  custom: {
    50: '#72a4a1',
    500: '#307f7b',
    950: '#000000',
  },
}
SCSS
$custom: #307f7b;
$custom-light: #72a4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#307f7b",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 123
  },
  "hsl": {
    "h": 176.962,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.07644,
    "h": 190.5
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#307F7B
secondary
#AC5F63
accent
#535AD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #307F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#307F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva