#308788#308788

#308788 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.3% C 0.081 H 196.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#308788
RGBrgb(48, 135, 136)
HSLhsl(181, 48%, 36%)
HSVhsv(181, 65%, 53%)
CMYKcmyk(64.7%, 0.7%, 0%, 46.7%)
CIE-LABlab(51.53, -25.01, -8.18)
CIE-LCHlch(51.53, 26.31, 198.12°)
OKLaboklab(57.28% -0.0781 -0.0227)
OKLCHoklch(57.28% 0.081 196.2)
XYZxyz(14.3249, 19.7323, 26.3416)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308788 #883130
analogous
#30885D #308788 #305B88
triadic
#308788 #883087 #878830
tetradic
#308788 #5D3088 #883130 #5B8830
square
#308788 #5D3088 #883130 #5B8830
split-complementary
#308788 #88305B #885D30
monochromatic
#102D2E #205A5B #308788 #40B4B5 #69C9CA

Accessibility & contrast

On white

4.25
#308788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#308788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308788
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308788#FFFFFF#000000##000000
##3087881.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8188
Deuteranopia (green-blind)
#707789
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308788;
/* rgb */ color: rgb(48, 135, 136);
/* oklch */ color: oklch(57.3% 0.081 196.2);
Tailwind
colors: {
  custom: {
    50: '#74aaaa',
    500: '#308788',
    950: '#000000',
  },
}
SCSS
$custom: #308788;
$custom-light: #74aaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#308788",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 136
  },
  "hsl": {
    "h": 180.682,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.08134,
    "h": 196.2
  },
  "luminance": 0.19734
}

Semantic roles & 50–950 ramp

primary
#308788
secondary
#B16463
accent
#5250D7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #308788

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

Preview Lab → · Contrast checker → · Palette generator →

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