#30878B#30878B

#30878B is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.4% C 0.081 H 199.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#30878B
RGBrgb(48, 135, 139)
HSLhsl(183, 49%, 37%)
HSVhsv(183, 65%, 55%)
CMYKcmyk(65.5%, 2.9%, 0%, 45.5%)
CIE-LABlab(51.63, -24.10, -9.78)
CIE-LCHlch(51.63, 26.01, 202.10°)
OKLaboklab(57.39% -0.0767 -0.0271)
OKLCHoklch(57.39% 0.081 199.5)
XYZxyz(14.5411, 19.8188, 27.4802)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30878B #8B3430
analogous
#308B62 #30878B #305A8B
triadic
#30878B #8B3087 #878B30
tetradic
#30878B #62308B #8B3430 #5A8B30
square
#30878B #62308B #8B3430 #5A8B30
split-complementary
#30878B #8B305A #8B6230
monochromatic
#112F30 #205B5E #30878B #40B3B8 #6AC7CC

Accessibility & contrast

On white

4.23
#30878B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#30878B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30878B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30878B#FFFFFF#000000##000000
##30878B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #30878b;
/* rgb */ color: rgb(48, 135, 139);
/* oklch */ color: oklch(57.4% 0.081 199.5);
Tailwind
colors: {
  custom: {
    50: '#75aaac',
    500: '#30878b',
    950: '#000000',
  },
}
SCSS
$custom: #30878b;
$custom-light: #75aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#30878b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 139
  },
  "hsl": {
    "h": 182.637,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57391,
    "c": 0.08139,
    "h": 199.5
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#30878B
secondary
#B36764
accent
#5650D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #30878B

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

Preview Lab → · Contrast checker → · Palette generator →

#30878B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva