#307F7C#307F7C

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

Color values

HEX#307F7C
RGBrgb(48, 127, 124)
HSLhsl(178, 45%, 34%)
HSVhsv(178, 62%, 50%)
CMYKcmyk(62.2%, 0%, 2.4%, 50.2%)
CIE-LABlab(48.59, -24.50, -5.54)
CIE-LCHlch(48.59, 25.12, 192.74°)
OKLaboklab(54.77% -0.0747 -0.0154)
OKLCHoklch(54.77% 0.076 191.7)
XYZxyz(12.4448, 17.2611, 21.7407)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F7C #7F3033
analogous
#307F55 #307F7C #305B7F
triadic
#307F7C #7C307F #7F7C30
tetradic
#307F7C #55307F #7F3033 #5B7F30
square
#307F7C #55307F #7F3033 #5B7F30
split-complementary
#307F7C #7F305B #7F5530
monochromatic
#0E2625 #1F5351 #307F7C #41ABA7 #65C5C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307F7C#FFFFFF#000000##FFFFFF
##307F7C1.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)
#78797C
Deuteranopia (green-blind)
#6B707D
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #307f7c;
/* rgb */ color: rgb(48, 127, 124);
/* oklch */ color: oklch(54.8% 0.076 191.7);
Tailwind
colors: {
  custom: {
    50: '#72a4a1',
    500: '#307f7c',
    950: '#000000',
  },
}
SCSS
$custom: #307f7c;
$custom-light: #72a4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#307f7c",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 124
  },
  "hsl": {
    "h": 177.722,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.07627,
    "h": 191.7
  },
  "luminance": 0.17262
}

Semantic roles & 50–950 ramp

primary
#307F7C
secondary
#AC5F62
accent
#5358D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0F
muted
#7B7F7E

Preview Lab

Preview with #307F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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