#308079#308079

#308079 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.9% C 0.078 H 187.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#308079
RGBrgb(48, 128, 121)
HSLhsl(175, 45%, 35%)
HSVhsv(175, 63%, 50%)
CMYKcmyk(62.5%, 0%, 5.5%, 49.8%)
CIE-LABlab(48.82, -25.88, -3.43)
CIE-LCHlch(48.82, 26.10, 187.55°)
OKLaboklab(54.92% -0.0773 -0.0097)
OKLCHoklch(54.92% 0.078 187.1)
XYZxyz(12.3877, 17.4459, 20.8000)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308079 #803037
analogous
#308051 #308079 #305F80
triadic
#308079 #793080 #807930
tetradic
#308079 #513080 #803037 #5F8030
square
#308079 #513080 #803037 #5F8030
split-complementary
#308079 #80305F #805130
monochromatic
#0F2725 #1F534F #308079 #41ADA3 #65C5BD

Accessibility & contrast

On white

4.68
#308079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#308079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308079
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308079#FFFFFF#000000##FFFFFF
##3080791.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797979
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308079;
/* rgb */ color: rgb(48, 128, 121);
/* oklch */ color: oklch(54.9% 0.078 187.1);
Tailwind
colors: {
  custom: {
    50: '#72a59f',
    500: '#308079',
    950: '#000000',
  },
}
SCSS
$custom: #308079;
$custom-light: #72a59f;
$custom-dark: #000000;
JSON
{
  "hex": "#308079",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 121
  },
  "hsl": {
    "h": 174.75,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.07787,
    "h": 187.1
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#308079
secondary
#AC5F66
accent
#535ED5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #308079

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

Preview Lab → · Contrast checker → · Palette generator →

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