#307F7D#307F7D

#307F7D is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.076 H 192.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#307F7D
RGBrgb(48, 127, 125)
HSLhsl(178, 45%, 34%)
HSVhsv(178, 62%, 50%)
CMYKcmyk(62.2%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.62, -24.20, -6.08)
CIE-LCHlch(48.62, 24.96, 194.10°)
OKLaboklab(54.8% -0.0742 -0.0169)
OKLCHoklch(54.8% 0.076 192.8)
XYZxyz(12.5083, 17.2865, 22.0755)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F7D #7F3032
analogous
#307F56 #307F7D #305A7F
triadic
#307F7D #7D307F #7F7D30
tetradic
#307F7D #56307F #7F3032 #5A7F30
square
#307F7D #56307F #7F3032 #5A7F30
split-complementary
#307F7D #7F305A #7F5630
monochromatic
#0E2626 #1F5351 #307F7D #41ABA9 #65C5C2

Accessibility & contrast

On white

4.71
#307F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#307F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F7D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F7D#FFFFFF#000000##FFFFFF
##307F7D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77797D
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #307f7d;
/* rgb */ color: rgb(48, 127, 125);
/* oklch */ color: oklch(54.8% 0.076 192.8);
Tailwind
colors: {
  custom: {
    50: '#72a4a2',
    500: '#307f7d',
    950: '#000000',
  },
}
SCSS
$custom: #307f7d;
$custom-light: #72a4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#307f7d",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.481,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.07612,
    "h": 192.8
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#307F7D
secondary
#AC5F61
accent
#5356D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #307F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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