#308A7D#308A7D

#308A7D is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.7% C 0.087 H 181.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#308A7D
RGBrgb(48, 138, 125)
HSLhsl(171, 48%, 36%)
HSVhsv(171, 65%, 54%)
CMYKcmyk(65.2%, 0%, 9.4%, 45.9%)
CIE-LABlab(52.16, -29.68, -0.86)
CIE-LCHlch(52.16, 29.69, 181.66°)
OKLaboklab(57.67% -0.0866 -0.0028)
OKLCHoklch(57.67% 0.087 181.9)
XYZxyz(14.0074, 20.2845, 22.5752)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A7D #8A303D
analogous
#308A50 #308A7D #306A8A
triadic
#308A7D #7D308A #8A7D30
tetradic
#308A7D #50308A #8A303D #6A8A30
square
#308A7D #50308A #8A303D #6A8A30
split-complementary
#308A7D #8A306A #8A5030
monochromatic
#102F2B #205D54 #308A7D #40B7A6 #69CBBD

Accessibility & contrast

On white

4.15
#308A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#308A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A7D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A7D#FFFFFF#000000##000000
##308A7D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827D
Deuteranopia (green-blind)
#77787E
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308a7d;
/* rgb */ color: rgb(48, 138, 125);
/* oklch */ color: oklch(57.7% 0.087 181.9);
Tailwind
colors: {
  custom: {
    50: '#74aca2',
    500: '#308a7d',
    950: '#000000',
  },
}
SCSS
$custom: #308a7d;
$custom-light: #74aca2;
$custom-dark: #000000;
JSON
{
  "hex": "#308a7d",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 125
  },
  "hsl": {
    "h": 171.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.08667,
    "h": 181.9
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#308A7D
secondary
#B2646F
accent
#5064D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #308A7D

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

Preview Lab → · Contrast checker → · Palette generator →

#308A7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva